denoland / deno-gfm

Server-side GitHub Flavored Markdown rendering for Deno
https://jsr.io/@deno/gfm
MIT License
221 stars 33 forks source link

katex should not be used if opts.allowMath is false #72

Closed hashrock closed 1 year ago

hashrock commented 1 year ago

Close #69 #51

hashrock commented 1 year ago

@lino-levan

I created this PR to understand the issue with allowMath. Will this PR resolve issue you mentioned?

My understanding is that even if allowMath is false, katex ends up running inside the Renderer.