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 to display line number in a code block #905

Closed
hawkchen opened this issue Sep 8, 2015 · 4 comments
Closed

Support to display line number in a code block #905

hawkchen opened this issue Sep 8, 2015 · 4 comments

Comments

@hawkchen
Copy link

hawkchen commented Sep 8, 2015

When authors explain a code snippet, line number can help them precisely link their explanation to a specific code. Therefore, this can improve readers' understanding. Hope that a code block can have line number on it.

@dkotrada
Copy link

dkotrada commented May 8, 2016

Same here I need it

@hackingbeauty
Copy link

+1

1 similar comment
@starwavelin
Copy link

+1

@AaronO
Copy link

AaronO commented Sep 27, 2017

@hawkchen In the new release, all code blocks with 2 lines or more have line numbers (see screenshot)

image

@AaronO AaronO closed this as completed Sep 27, 2017
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

5 participants