As discussed in #16 the option to add custom macros would be helpful. I've simply added the macro object to the rendering_options as specified at https://katex.org/docs/next/options.html.
Following the example provided at the link above, the configuration:
As discussed in #16 the option to add custom macros would be helpful. I've simply added the macro object to the
rendering_options
as specified at https://katex.org/docs/next/options.html.Following the example provided at the link above, the configuration:
Gives the ability to write
For the following output
Arguments are also supported. E.g.
and
Results in the same output.