hanford / remark-slate

Remark plugin to compile Markdown as a slate 0.50+ compatible object.
155 stars 42 forks source link

latex (remark-math) support #51

Open wwsalmon opened 2 years ago

wwsalmon commented 2 years ago

any chance latex support ($ and $$) could be added? it's not strictly markdown but I imagine it's a pretty common use case and https://github.com/inokawa/remark-slate-transformer supports it based on https://github.com/Rokt33r/remark-math plug-in for remark.

should be pretty easy to implement, happy to put in a PR for this if you're willing to merge

hanford commented 2 years ago

Rather than specifically adding support for remark-math I wonder if remark-slate could expose an escape hatch for any type of customization