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

Added line numbers to editable sections of code. #1035

Merged
merged 1 commit into from
Sep 26, 2019

Conversation

andymac-2
Copy link
Contributor

@andymac-2 andymac-2 commented Sep 24, 2019

  • Added line numbers to config struct
  • Added playpen_line_numbers field to hbs renderer.
  • Added section to set window.playpen_line_numbers = true in page template
  • Use line number global variable to show line numbers when required.
  • Updated docs

Fixes #1028
Fixes Line Numbers for Code Editor #1193

- Added line numbers to config struct
- Added playpen_line_numbers field to hbs renderer.
- Added section to set `window.playpen_line_numbers = true` in page template
- Use line number global variable to show line numbers when required.
@ehuss ehuss merged commit 73be129 into rust-lang:master Sep 26, 2019
@ehuss
Copy link
Contributor

ehuss commented Sep 26, 2019

Thanks!

@ehuss ehuss mentioned this pull request Sep 26, 2019
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
Added line numbers to editable sections of code.
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

Successfully merging this pull request may close these issues.

How to add line numbers to default playpen? Line Numbers for Code Editor
2 participants