[DEPRECATED] Jekyll plugin for easy server-side math rendering via KaTeX
The jekyll-katex plugin is a Jekyll plugin that allows for compile-time math rendering using the KaTeX library. KaTeX is a library for rendering math on the web using LaTeX. It offers faster rendering speed and renders equations to pure HTML instead of PNGs, setting it apart from MathJax. This plugin comes packaged with KaTeX 0.11.1, but users have the option to specify a different version in their Jekyll _config.yml file.
To install the jekyll-katex plugin, follow these steps:
plugins:
- jekyll-katex
bundle install to install the plugin.<!-- Adjust for your version -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" integrity="sha512-************" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.js" integrity="sha512-************" crossorigin="anonymous"></script>
The jekyll-katex plugin is a powerful tool for Jekyll users who want to perform compile-time math rendering using the KaTeX library. With its faster rendering speed and ability to generate pure HTML equations, it offers a strong alternative to MathJax. By following the installation instructions and using the provided liquid tags, users can easily incorporate mathematical equations into their Jekyll websites.