Hello,
Is there a way to mark contents of an Org special block as verbatim?
In my custom exporter, when I do the below,
#+begin_katex
E = -J \sum_{i=1}^N s_i s_{i+1}
#+end_katex
it gets exported to:
{{< katex display >}}
E = -J ∑<sub>i=1</sub>^N s\_i s<sub>i+1</sub>
{{< /katex >}}
I would like to treat that block /like/ how Org treats the latex
environment blocks, but it needs to be a special block as
begin_katex/end_katex here is special and it could be a different
equation rendering backend for another user.
So is that a header switch or arg that can be passed on to this
special block that enables the verbatim mode (prevent Org from
replacing the Org entities, do the sub/superscript expansion, etc.)?
--
Kaushal Modi