DEV Community

Discussion on: Wouldn't it be cool if DEV could render LaTeX?

Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

Awesome!

It would also be great if we could get support for the double dollar sign notation:

$$x^2$$

I use this on my Jekyll blog, which also renders KaTeX :)

Collapse
 
ben profile image
Ben Halpern

Interesting...

Is that fully inline, so $$x^2$$ automatically becomes...

x2 x^2

?

Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

Yup, you can use it to generate both inline and block-level LaTeX:

This is $$x^2$$ a sentence.

Or:

$$x^2$$

Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

There's a great tutorial on how to get it set up here: xuc.me/blog/katex-and-jekyll/