-
Hi, I was wondering if there's a way to write my custom middleware. I basically want to write some kind of an extension to add my modify the symbols or to add my own, modify the style and add a custom font. I also want to share this middleware/extension/plugin with other people. Does KaTeX support something like this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Take a look at https://github.com/KaTeX/KaTeX/tree/main/contrib/mhchem for an example of defining custom macros. There's no support for adding actual symbols/fonts though. |
Beta Was this translation helpful? Give feedback.
Take a look at https://github.com/KaTeX/KaTeX/tree/main/contrib/mhchem for an example of defining custom macros. There's no support for adding actual symbols/fonts though.