Create code-line-numbers
across code chunks?
#7756
-
DescriptionI'm using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
No I don't think this is possible. Currently this feature relies mainly on Pandoc's highlighter support (https://pandoc.org/MANUAL.html#extension-fenced_code_attributes) and it applies on code block by code block. |
Beta Was this translation helpful? Give feedback.
-
This is now possible, as documented at the link @cderv provided, e.g.
would be nice if this was documented in the Quarto docs. |
Beta Was this translation helpful? Give feedback.
We'll document, but we'll do it by a new option that is more aligned with the context, and findable with autocompletion. Current candidate is
code-line-numbers-start