ac0a9da6d8
We now use source positions from the token stream to tell us how much of the text stream to consume. Getting this to work required a few other changes to make token source positions accurate. Closes #7434.
352 B
352 B
% pandoc -f markdown -t native
\begin{proof}
\newcommand{\x}{\left.\right.}
\x
\end{proof}
1234567890abcdefghi
[\*\a](x)
^D
[RawBlock (Format "tex") "\\begin{proof}\n\\newcommand{\\x}{\\left.\\right.}\n\\left.\\right.\n\\end{proof}"
,Para [Str "1234567890abcdefghi"]
,Para [Link ("",[],[]) [Str "*",RawInline (Format "tex") "\\a"] ("x","")]]