wooorm / xdm

Just a *really* good MDX compiler. No runtime. With esbuild, Rollup, and webpack plugins
http://wooorm.com/xdm/
MIT License
595 stars 18 forks source link

rehype-katex options #59

Closed gr-qft closed 3 years ago

gr-qft commented 3 years ago

Hi, thanks for this awesome project. I have a question: according to rehype-katex doc, katex options could be passed along. However, I’m not seeing how I could pass katex options (e.g. macro definitions) when specifying rehype-katex as a rehype plugin.

Thanks!

wooorm commented 3 years ago

Hi there! The examples on how to pass (remark and) rehype show this: https://github.com/wooorm/xdm#optionsrehypeplugins

gr-qft commented 3 years ago

Oh great, thank you!