Hi 👋 Does Clerk differentiate between $math$ and $$math$$? The former usually means "inline" and the later "display" (according to katex terminology).
Specifically I'm struggling with using the https://github.com/nextjournal/markdown to parse $$math$$ and getting [:span.formula ""] "math" [:span.formula ""] which indicates $$ is not a thing. I think the answer is, that's not supported by the markdown parser, just wanting to check if I'm missing something.
single $ is inline, $$ is block
Experimenting a bit here's what I found:
"hi $math$ there"
=> [:p [:span.formula "math"]]
{edit] ^^ as expected
but...
"hi $$math$$ there"
=> [:p "hi " [:span.formula ""] "math" [:span.formula ""] " there"]
Was confusing me... (not what I expected)
but
"$$math$$"
=> [:figure.formula "math"]
So displayMode blocks are represented as :figure.formula and inline as :span.formula and blocks are only allows to start a line (not be inline).
which makes sense.the definition of "block" is that it starts on a new line
in the first two examples you use one actual and one expected, but the example in the expected differs from the actual
thanks, sorry I wasn't clear, I update the message to try to be more clear - TLDR it all makes sense now thanks for your help.