Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emphasize-lines should be re-aligned to use remote line numbers #18

Open
Starlight220 opened this issue Dec 12, 2022 · 1 comment
Open

Comments

@Starlight220
Copy link
Member

Currently it uses line numbers relative to the snippet's content, meaning I have to do this:

      :lines: 298-328
      :linenos:
      :lineno-start: 298
      :emphasize-lines: 15,20-21

rather than

      :lines: 298-328
      :linenos:
      :lineno-start: 298
      :emphasize-lines: 313,318-319
@sciencewhiz
Copy link
Contributor

I agree this would be nice, but it also matches sphinx's literalinclude, so I'm not sure we'd want to change it unless sphinx does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants