linjer / jekyll-katex

[DEPRECATED] Jekyll plugin for easy server-side math rendering via KaTeX
MIT License
96 stars 8 forks source link

This plugin is not necessary #35

Open makew0rld opened 3 years ago

makew0rld commented 3 years ago

According to this blog post kramdown can easily support Katex without this plugin. See the section "Method 2".

Also see this post: https://gendignoux.com/blog/2020/05/23/katex.html

Jaxan commented 3 years ago

Thanks @makeworld-the-better-one! I was having troubles with this plugin and a newer version of jekyll. But your solution works as well! It also seems to be faster.

It requires some changes though, such as changing single dollars into double dollars.

For me it only worked with the duktape js engine.

yagarea commented 2 years ago

Also see this post: https://gendignoux.com/blog/2020/05/23/katex.html This page gives 404

makew0rld commented 2 years ago

Loads fine for me. You could try this archived version I guess: https://web.archive.org/web/20210416031226/https://gendignoux.com/blog/2020/05/23/katex.html

linjer commented 2 years ago

@makeworld-the-better-one Thanks for this info! This plugin hasn't been maintained so it's great to find a working solution. IIUC, all jekyll users who have kramdown as the markdown engine can benefit. Is that correct? I will update info for this plugin accordingly.

makew0rld commented 2 years ago

I believe so. I'm just going off the two blog posts I linked to in the original comment.