Make options tex_single_backslash_math
and tex_double_backslash_math
robust against extra spaces
#386
Labels
Milestone
In #270, we added support for options
tex_single_backslash_math
andtex_double_backslash_math
that add support for writing inline and display math between the separators\(
, and\)
,\[
,\]
(for optiontex_single_backslash_math
) and\\(
, and\\)
,\\[
,\\]
(for optiontex_single_backslash_math
):However, introducing spaces around the separators produces unexpected results:
However, Pandoc does not reproduce the above results:
Acceptance criteria
tests/testfiles/lunamark-markdown/tex-math-*backslash*.test
with the above examples.The text was updated successfully, but these errors were encountered: