Skip to content

Options for linenos and start are ignored and result in no highlighting #15

@detly

Description

@detly

Using the triple backticks with options linenos:true and start:5 result in no highlighting and verbatim rendering of those options in the code.

Here's the codefence part of the source:

```c
const int magic;
```

```c linenos:true start:5
const int not_magic;
```

Here's a screenshot:

octopress cf bug

To reproduce:

First, write a Gemfile containing:

source 'https://rubygems.org'

gem 'octopress', '~> 3.0'

Then run bundle (I did this under an RVM managed Ruby 2.3.0).

Then do mkdir src and run octopress new src.

Then do

cd src
jekyll serve

The results of this are at https://github.com/detly/octopress-test

I'm doing this on Ubuntu 14.04.1 with an RVM installed Ruby 2.3.0. Gems installed (purely from the bundle command) are:

Using colorator 0.1
Using ffi 1.9.10
Using sass 3.4.21
Using rb-fsevent 0.9.7
Using kramdown 1.9.0
Using liquid 3.0.6
Using mercenary 0.3.5
Using rouge 1.10.1
Using safe_yaml 1.0.4
Using redcarpet 3.3.4
Using titlecase 0.1.1
Using bundler 1.11.2
Using octopress-deploy 1.3.0
Using rb-inotify 0.9.7
Using jekyll-sass-converter 1.4.0
Using listen 3.0.6
Using jekyll-watch 1.3.1
Using jekyll 3.1.2
Using octopress-escape-code 2.1.1
Using octopress-hooks 2.6.1
Using octopress-code-highlighter 4.3.0
Using octopress 3.0.11
Using octopress-codefence 1.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions