~~Kramdown::KaTeX~~

Use kramdown/math-katex instead.


Original content:

Notice: since KaTeX is built for speed, there's no need to use this library at server side if your target is browser, see the official document.

I made this library for some specific usage.

Install

gem install kramdown-katex

Usage

require 'kramdown'
require 'kramdown/katex'

p Kramdown::Document.new('# So, $$ E = mc^2 $$').to_html

License

MIT.