DEV Community

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

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/