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

Line numbers configuration setting #8

Open
trailjeep opened this issue Mar 5, 2018 · 4 comments
Open

Line numbers configuration setting #8

trailjeep opened this issue Mar 5, 2018 · 4 comments
Assignees

Comments

@trailjeep
Copy link

Feature request: Have a config setting to turn on line numbering by default.

@bortoluzzi
Copy link

Adding .prettyprint ol.linenums > li { list-style-type: decimal; } to all.css changes nothing.

@ssahara
Copy link
Owner

ssahara commented Mar 20, 2018

For next release,

  1. add linenums config parameter: $meta['linenums'] = array('onoff');
  2. recognise prettify paramater <Code nolinenums>...</Code>

@ssahara ssahara self-assigned this Mar 20, 2018
@ssahara
Copy link
Owner

ssahara commented Mar 23, 2018

Hi @trailjeep , the plugin release 2018-03-21 has now config setting for line numbering implicitly.
0414ae0

@ssahara
Copy link
Owner

ssahara commented Mar 23, 2018

Hi @bortoluzzi , thank you for informed me the css issue. all.css has fixed by a0701c9. Hope to help you

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

4 participants
@trailjeep @ssahara @bortoluzzi and others