1

I just noticed that when Pandoc creates syntax highlighting, it also creates an HTML anchor for each code line:

This results in a lot of invisible tab stops. Is there a way to suppress creating those anchors?

Joshua Muheim
  • 12,617
  • 9
  • 76
  • 152

1 Answers1

1

There is no switch to stop the anchors from being generated, but it is possible to disable them via CSS:

pre > code.sourceCode a {
  display: none;
}

This will hide all line anchors, and the tab stops will be gone.

tarleb
  • 19,863
  • 4
  • 51
  • 80