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

Support an arbitrary line number start value for specific code blocks #6

Open
phrohdoh opened this issue Mar 9, 2019 · 0 comments
Open

Comments

@phrohdoh
Copy link

phrohdoh commented Mar 9, 2019

Something like the following, if possible:

```yaml,line_num_start=5
5: foo: bar
6: ...

Where the line numbers start at the specified value, 5, instead of 1.


Combined with #5 we could get something like:

```yaml,line_nums,line_num_start=5
5: foo: bar

Which would force line numbers to be rendered even though it is a one-line and start the line numbers at the specified value.

This is useful when you are dissecting a code-block line-by-line, for example, and want to make the context clearly known.

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

1 participant