Equation identifier using pandoc-eqnos breaks syntax highlighting
See original GitHub issueWhat is the problem?
Syntax highlighting stops working when using equation identifiers for Pandoc with pandoc-eqnos (https://github.com/tomduck/pandoc-eqnos) package. Example:
What I get:

Expected result:

How can I reproduce it?
Just write anything on the same line of a $$ ending a math block.
Is there any error message in the console?
No.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Equations window - F-Chart Software
Syntax highlighting is optional and it can be turned on/off by clicking the right-most pane in the status bar at the bottom of...
Read more >VS Code syntax highlighting broken when editing LLVM code
I am working on the LLVM source tree using the VS Code editor. I am unable to get the editor to find the...
Read more >User Guide: Formatting Contents - MarkBind
The preferred way to indicate line breaks is to use a <br> tag. CODE: ... Features: Syntax coloring; Line numbering; Line highlighting; Code...
Read more >Syntax Highlighting (Preferences Dialog) - F-Chart Software
Syntax Highlighting (Preferences Dialog). Syntax highlighting allows the display of function names, EES keywords, and constants in a user-configurable ...
Read more >Inserting syntax hilighted code inside mathematical equations
In addition to using \lstinline to get inline-mode typesetting, you need to encase the \lstinline{...} directive in a \text{.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The line 13 should be removed. The line 16 is just an ordinary test. The ending ‘$’ just try to make the highlight behave the same as the rendering. 😂
Great, thanks !