pandoc-minted icon indicating copy to clipboard operation
pandoc-minted copied to clipboard

Fix delimiter for mintinline when braces are in it.

Open QuLogic opened this issue 7 years ago • 1 comments

If an inline code section contains an unmatched brace, then using braces as the \mintinline delimiter breaks. The inline section will extend to the next matching brace instead.

\mintinline can use any other character for a delimiter, so try to switch to something else when braces are in the text.

This also includes a fix for an invalid escape sequence.

QuLogic avatar Jan 19 '19 09:01 QuLogic

Fwiw, I support this PR. Ran into this issue today.

ricopicone avatar Aug 22 '22 00:08 ricopicone