Libbum / oration

A Rocket/Elm self hosted commenting system for static sites
MIT License
22 stars 5 forks source link

Equations #58

Closed Libbum closed 6 years ago

Libbum commented 6 years ago

We need to be able to use equations in comments, so we should parse latex style fences and render with katex. elm-katex is an OK start, but we need to parse our markdown to identify portions of the string to use the inline and display environments on. Problem at the moment with that is the poor regex support that javascript has (no negative lookbehinds to separate $ from $$). I'm not really sure if it should be parsed after the markdown step or before either?

Libbum commented 6 years ago

Closed via #71.