Multiline queations with utf-8 characters ahead does not render correcly.
sandyUni opened this issue · comments
sandyX commented
Summary
Multiline queations with utf-8 characters ahead does not render correcly.
...
Expected behavior
the source code of
Actual behavior
Code example
这样
$$
so(3)=\{\phi \in R^3,\ \mathbf{\Phi}=\phi^\wedge \in \mathbb{R}^{3\times 3}\}
$$
However
这样
$$
so(3)=\{\phi \in R^3,\ \mathbf{\Phi}=\phi^\wedge \in \mathbb{R}^{3\times 3}\}
$$
will be rendered correctly.
Related links
Environment
Operating system: whatever
VSCode version: 1.56.2
Markdown+Math version: 2.5.0
Stefan Goessner commented
it is the same with non-utf8 text ... so
non-utf8
$$
so(3)=\{\phi \in R^3,\ \mathbf{\Phi}=\phi^\wedge \in \mathbb{R}^{3\times 3}\}
$$
also behaves the same.
This basically is a constraint from markdown-it, as display math requires a newline in order to be recognized as a new block element.
But surprisingly ...
这样 $$so(3)=\{\phi \in R^3,\ \mathbf{\Phi}=\phi^\wedge \in \mathbb{R}^{3\times 3}\}$$ 这样
... written alltogether on a single line works due to new Pandoc compatibility ... try it out.