-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
pygments.rb options not working #1382
Comments
I was also stuck in the problem for a while, and then I checked the source code. It seems that some options like
I don't know why these useful options are removed, the current version is too simple. |
@wJsJwr Are you talking about the current code on |
@parkr I'm talking about the current code on |
Did somebody managed to find the commit that should be merged into master that fixes this issue ? |
I'm having this problem, too. |
Thought I was crazy when I ran into this on both codeblocks and backtick blocks, I've been pulling my hair out. Looking at the code in 2.1 around the time of the commit for the markup and the sass code now, things have drastically changed to the point where a simple merge from back then would not rectify this issue- at least a simple merge by me, unfamiliar with the codebase. This is really disappointing, because the fancy line numbers and code highlighting demos on the octopress webpage were why I picked up Octopress. I ended up cloning the site-2.1 branch directly- which is the Octopress page itself. Reset the theme with 'rake install', remove all the content and set the config to your liking and you've got a site with at LEAST the same features as the Octopress page. |
Same here. |
It's not released yet. I'll change the docs. |
Check out octopress/docs#16 |
Is it going to be released? or its been removed for good? |
It's never been merged into master. If I'm following the tree correctly, it's still in and a part of the 3.0 release (currently in alpha2?) |
Same problem here. |
Just ran into this today. It would be nice to have line numbers. |
Today I installed octopress to build a blog. When I tried to add a code block to an article using either the backtick or the codeblock syntax things like linenos:false or start:51 don't work and get put into the title.
According to the documentation available at http://octopress.org/docs/plugins/codeblock/ and http://octopress.org/docs/blogging/code/ it should work like this:
The resulting code highlight has a title of "FooBar test text linenos:false" instead of the expected "FooBar test text" and line numbers which it should not have.
The text was updated successfully, but these errors were encountered: