Closed baldachin closed 1 year ago
As far as I understand in my old code a simple regex is used to find math sections that for the sake of my usage of them also allows whitespaces between inline opening/closing tags.
I tried to update the inline regex with a negative lookbehind (\$
$\rightarrow$ (?<!\\)\$
) to allow escaping so in case this is not what you really want can you further elaborate what you would expect/like to happen?
I would like to be able to mark inline math with $ signs that appear within the body of the text with a symbol to avoid processing, and also to be able to not display the avoided symbols after processing. For example:
$a +b$ is a math. \$ is a symbol, \$ is another symbol.
to \(a+b\) is a math. $ is a symbol, $ is another symbol.
I updated it once more to now ignore using the $
symbol as opening/closing tag when instead of content a whitespace is found:
With the new version release on pypi this problem should be fixed now as far as I tested and understood it.
Thank you very much!
My body content contains
$
characters, which are not inline math markers and should not be escaped. I've tried using backslashes to prevent escaping without success, and I can't find anything about this in the documentation.