changing markdown processor back to redcarpet

This commit is contained in:
Tom Johnson
2015-09-08 14:06:14 -07:00
parent b9d40463f1
commit 4c76a9c084
4 changed files with 14 additions and 5 deletions

View File

@ -29,12 +29,15 @@ exclude:
host: 127.0.0.1 host: 127.0.0.1
feedback_email: tomjohnson1492@gmail.com feedback_email: tomjohnson1492@gmail.com
sidebar_accordion: true sidebar_accordion: true
markdown: kramdown markdown: redcarpet
print: false print: false
theme_file: theme-blue.css theme_file: theme-blue.css
# only use suffix if you need to force index.html to display # only use suffix if you need to force index.html to display
# suffix: index.html # suffix: index.html
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "tables", "with_toc_data"]
highlighter: pygments highlighter: pygments
collections: collections:

View File

@ -29,7 +29,7 @@ exclude:
host: 127.0.0.1 host: 127.0.0.1
feedback_email: tomjohnson1492@gmail.com feedback_email: tomjohnson1492@gmail.com
sidebar_accordion: true sidebar_accordion: true
markdown: kramdown markdown: redcarpet
print: false print: false
theme_file: theme-blue.css theme_file: theme-blue.css
# only use suffix if you need to force index.html to display # only use suffix if you need to force index.html to display
@ -37,6 +37,9 @@ theme_file: theme-blue.css
highlighter: pygments highlighter: pygments
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "tables", "with_toc_data"]
collections: collections:
tooltips: tooltips:
output: true output: true

View File

@ -30,7 +30,7 @@ exclude:
host: 127.0.0.1 host: 127.0.0.1
feedback_email: tomjohnson1492@gmail.com feedback_email: tomjohnson1492@gmail.com
sidebar_accordion: true sidebar_accordion: true
markdown: kramdown markdown: redcarpet
print: false print: false
# only use suffix if you need to force index.html to display # only use suffix if you need to force index.html to display
@ -38,6 +38,9 @@ print: false
highlighter: pygments highlighter: pygments
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "tables", "with_toc_data"]
collections: collections:
tooltips: tooltips:
output: true output: true

View File

@ -41,9 +41,9 @@ Note that you can define arbitrary key-value pairs in the configuration file, an
| **feedback_email** | Gets configured as the email address in the Send Feedback button in the top navigation bar.| | **feedback_email** | Gets configured as the email address in the Send Feedback button in the top navigation bar.|
| **sidebar_accordion** | Optional | Boolean. The default value is true. Whether you want the navigation sidebar to use the accordion effect or not. The accordion effect means when you expand a section, the other sections automatically collapse. If you put `false`, then you can expand multiple sections at once. At the bottom of the navigation sidebar, two links will appear: Collapse All and Expand All. | | **sidebar_accordion** | Optional | Boolean. The default value is true. Whether you want the navigation sidebar to use the accordion effect or not. The accordion effect means when you expand a section, the other sections automatically collapse. If you put `false`, then you can expand multiple sections at once. At the bottom of the navigation sidebar, two links will appear: Collapse All and Expand All. |
| **disqus_shortname** | Optional | The disqus site shortname, which is used for comments. If you don't want comment forms via disqus, leave this blank or omit it altogether and Disqus won't appear. | | **disqus_shortname** | Optional | The disqus site shortname, which is used for comments. If you don't want comment forms via disqus, leave this blank or omit it altogether and Disqus won't appear. |
| **markdown** | Required | The processor to use for Markdown. This is a Jekyll-specific setting. | | **markdown** | Required | The processor to use for Markdown. This is a Jekyll-specific setting. Use `redcarpet`. Another option is `kramdown`. However, my examples will follow redcarpet. |
| **redcarpet** | Required | Extensions used with redcarpet. You can read more about them by searching for redcarpet extensions online. | | **redcarpet** | Required | Extensions used with redcarpet. You can read more about them by searching for redcarpet extensions online. |
| **highlighter** | Optional | The syntax highlighter used. `rouge` is also an option. I think Pygments does a better job. You will need to [install Pygments](http://pygments.org/download/) on your machine or else you will see an error. | | **highlighter** | Optional | The syntax highlighter used. Use `pygments` because it's required you're publishing on Github Pages. You will need to [install Pygments](http://pygments.org/download/) on your machine or else you will see an error. Pygments is based on Python. If you run into build errors and aren't publishing on Github Pages, `rouge` is also an option. |
| **exclude** | Optional | A list of files and directories that you want excluded from the build. By default, all the content in your project is included in the output. | | **exclude** | Optional | A list of files and directories that you want excluded from the build. By default, all the content in your project is included in the output. |
| **defaults** | Optional | Here you can set default values for frontmatter based on the content type (page, post, or collection). | | **defaults** | Optional | Here you can set default values for frontmatter based on the content type (page, post, or collection). |
| **collections** | Optional | Any specific collections (custom content types that extend beyond pages or posts) that you want to define. This theme defines a collection called tooltips. You access this collection by using site.tooltips instead of site.pages or site.posts. Put the tooltip content types inside a folder in your project called \_tooltips. | | **collections** | Optional | Any specific collections (custom content types that extend beyond pages or posts) that you want to define. This theme defines a collection called tooltips. You access this collection by using site.tooltips instead of site.pages or site.posts. Put the tooltip content types inside a folder in your project called \_tooltips. |