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

BUG: start, mark, and linenos don't work in code blocks #1472

Closed
arielelkin opened this issue Jan 11, 2014 · 17 comments
Closed

BUG: start, mark, and linenos don't work in code blocks #1472

arielelkin opened this issue Jan 11, 2014 · 17 comments

Comments

@arielelkin
Copy link

This is a problem with codeblock and backtick code blocks.

Here's how the samples from the documentation are rendering on a clean install of octopress:

IMG

Result obtained by doing this:

` ` `coffeescript Coffeescript Tricks start:51 mark:52,54-55
# Given an alphabet:
alphabet = 'abcdefghijklmnopqrstuvwxyz'

# Iterate over part of the alphabet:
console.log letter for letter in alphabet[4..8]
` ` `

and this:

{% codeblock Coffeescript Tricks lang:coffeescript start:51 mark:52,54-55 %}
# Given an alphabet:
alphabet = 'abcdefghijklmnopqrstuvwxyz'

# Iterate over part of the alphabet:
console.log letter for letter in alphabet[4..8]
{% endcodeblock %}
@arielelkin
Copy link
Author

@mariolopjr
Copy link

I am also having the same issue.

@benedict-chan
Copy link

#1485

It just a quick hack merged from some 2.5 plugins and I haven't test it thoughtfully.
Only use it if you really want this function in 2.1

@arielelkin
Copy link
Author

It seems like it works fine.. Would be nice to get this in? @imathis @parkr

@spellancer
Copy link

Same trouble.
http://octopress.org/docs/blogging/code/ - alrady in docs, but not working, lol.

@egobrain
Copy link

+1. Same issue

@smalldirector
Copy link

+1 same issue

@zackp30
Copy link

zackp30 commented Apr 8, 2014

Same issue here.

@cyberflow
Copy link

+1 same issue

@ifyouseewendy
Copy link

Same issue here

@unl1k3ly
Copy link

unl1k3ly commented Jun 3, 2014

+1 here

@linduxed
Copy link

Yeah, it's quite confusing to have the features described in the documentation, but not have features in the master code.

Is there something blocking the progress on this, considering there's a PR up from @benedict-chan?

@imathis
Copy link
Owner

imathis commented Jun 22, 2014

I'm working on addressing this now.

@Pro-YY
Copy link

Pro-YY commented Aug 3, 2014

same issue for me

@treyhunner
Copy link
Contributor

I also stumbled upon this page and experienced the same issue.

@minamotoasahi
Copy link

I meet the same issue,, is there a complete solution? would you like to help me a description? (my English is very poor...)

@parkr
Copy link
Collaborator

parkr commented Feb 21, 2017

Hello, Octopress 2 is not supported. Sorry for the trouble here! If someone has a very small, targeted PR that fixes this, feel free to CC me in it.

@parkr parkr closed this as completed Feb 21, 2017
Repository owner locked and limited conversation to collaborators Feb 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests