-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Passing options to Pygments #31
Comments
Could you give an example of how this works? |
For example using
will result in highlighted PHP code and line numbers. There are several other options, most of them are boolean. So the value defaults to |
+1 Solid! I was about to start a patch that would let me set |
This patch looks good. As a feature addition it will go into 1.1. |
The changes now reside in koraktor/jekyll@pygments-options. |
Changed my mind. This is merged in master and going in the next release. |
Has this been included in latest Jekyll release ? I am wondering because the issue status stays "Pending" |
Right now only
linenos
can be passed to Pygments. I built a small patch for the highlight tag allowing general passing of options to Pygments. This can be used e.g. forstartinline
for PHP code.http://github.com/koraktor/jekyll/commit/dd12900dd59b2a6526040fc7d1400f35a8a73fe8
The text was updated successfully, but these errors were encountered: