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

Improve support for syntax highlighting linenos=table option #91

Closed
mchelen opened this issue Sep 15, 2014 · 2 comments
Closed

Improve support for syntax highlighting linenos=table option #91

mchelen opened this issue Sep 15, 2014 · 2 comments

Comments

@mchelen
Copy link
Contributor

mchelen commented Sep 15, 2014

The {% highlight %} tag for syntax highlighting works fine:
syntax highlighting post default

Line numbers can be added using linenos:
syntax highlighting post linenos

With linenos however the line numbers are selected when trying to copy the code. This can be fixed by using linenos=table but this is not handled in the theme styling:
syntax highlighting post linenos table

Reference: http://pygments.org/docs/formatters/

saintsal pushed a commit to saintsal/saintsal.github.io that referenced this issue May 29, 2017
saintsal pushed a commit to saintsal/saintsal.github.io that referenced this issue May 29, 2017
@mmistakes mmistakes mentioned this issue Jan 19, 2018
48 tasks
@mmistakes
Copy link
Owner

This has been fixed and will be landing in #265 once merged.

@mmistakes
Copy link
Owner

3.0.1 has been released with this fix.

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

No branches or pull requests

2 participants