Skip to content

Fix gh-pages display of fenced code blocks#10

Merged
lwasser merged 2 commits intolwasser:gh-pagesfrom
qjcg:gh-pages
Mar 29, 2015
Merged

Fix gh-pages display of fenced code blocks#10
lwasser merged 2 commits intolwasser:gh-pagesfrom
qjcg:gh-pages

Conversation

@qjcg
Copy link
Copy Markdown

@qjcg qjcg commented Mar 28, 2015

GitHub's gh-pages markdown rendering can be a bit of a headache (the term "markdown hell" comes up in online discussions not infrequently...).

This PR adds some minimal configuration enabling:

  • fenced code blocks to display properly
  • syntax highlighting

Compare the code blocks in your current gh-pages with mine to see the difference.

@qjcg qjcg changed the title Fix gh-pages display of fenced code blocks (with syntax highlighting) Fix gh-pages display of fenced code blocks Mar 29, 2015
lwasser pushed a commit that referenced this pull request Mar 29, 2015
Fix gh-pages display of fenced code blocks. We'll need to add the other original contributors of this material to the YAML as well.
@lwasser lwasser merged commit e2f8589 into lwasser:gh-pages Mar 29, 2015
@qjcg qjcg deleted the gh-pages branch March 30, 2015 11:21
@qjcg
Copy link
Copy Markdown
Author

qjcg commented Mar 30, 2015

Haha... no worries re: last name spelling --- you're not the first, and you won't be the last, to add a "t" to my name.

Is it possible the issue that you're having is that you don't have the redcarpet Ruby gem installed on your local machine when you're running jekyll? (You can do gem install redcarpet to install it if not).

If so, are you running jekyll from your local gh-pages, master, or another branch? Whatever branch you run on, make sure you've got everything from PR #10 present.

Let me know if any of this helps!

fmichonneau pushed a commit to fmichonneau/python-ecology that referenced this pull request Apr 28, 2017
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

Successfully merging this pull request may close these issues.

2 participants