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 with code blocks(categories?) parsing #150

Open
rustamgasanov opened this issue Nov 9, 2015 · 2 comments
Open

Bug with code blocks(categories?) parsing #150

rustamgasanov opened this issue Nov 9, 2015 · 2 comments

Comments

@rustamgasanov
Copy link

Steps to reproduce: create a new post with the following content


---
layout: post
title: "1"
date: 2015-11-04 19:39:31 -0500
comments: true
categories: 
  - cat

---

``` html 1
...
<div><p>1</p></div>
...
```

``` html 2
...
<div><p>2</p></div>
...
```

Run rake generate or rake preview. The following error appears:

Error: Pygments can't parse unknown language: </p>.
Error: Run jekyll build --trace for more information.

By experimenting, I found that error disappears if you remove all categories

@dgmstuart
Copy link

Is it related to this? imathis/octopress#1651 (comment)

@jingsam
Copy link

jingsam commented Dec 15, 2015

In Octopress 3,you should use

octopress new post [title]
jekyll serve

Do not try to use rake in Octopress 3!

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

No branches or pull requests

3 participants