question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Equation identifier using pandoc-eqnos breaks syntax highlighting

See original GitHub issue

What 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: image

Expected result: image

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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
linsuicommented, Jan 9, 2019

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. 😂

0reactions
sjerdmanncommented, Sep 20, 2020

Great, thanks !

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found