jekyllt / jasper

Full-featured Jekyll port of Ghost's default theme Casper 👻

Home Page:https://jekyller.github.io/jasper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Flavored Markdown?

atuttle opened this issue · comments

I was expecting to be able to fence code blocks with this syntax:

```
code here
```

But it doesn't look like that's supported.

In addition to just being comfortable with that syntax from regular GitHub use, I'd also like to be able to do this: http://zpao.com/posts/adding-line-highlights-to-markdown-code-fences/

I tried copying the Redcarpet settings out of React's _config.yml but that doesn't seem to have any effect:

markdown: redcarpet
redcarpet:
  extensions:
  - fenced_code_blocks
  - footnotes

Any idea how I can enable this feature?

Ok, it looks like they're supported for markdown files. I was testing in the "comprehensive style-test" page, which is html not md. They're working for me now. :)