cal-id / katex-quick-render

An atom plugin to render LaTeX maths equations instantly using KaTeX. Avoid waiting while your whole pdf compiles.
MIT License
0 stars 2 forks source link

Activate plugin in Markdown files as well #10

Closed dschwen closed 6 years ago

dschwen commented 6 years ago

Many flavors of markdown allow embedded LaTeX equations (using the $ and $$ markers). It'd be great if the plugin rendered those as well. (ping @sapitts)

dschwen commented 6 years ago

Ah, I see you are only checking if the current scope contains math. It seems that the solution would be to use a proper language package for the augmented markdown...

dschwen commented 6 years ago

Installing language-markdown fixes this!