From 3fe261f91c9c138b3ce4730ce4c34f159e98016f Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Sun, 8 Dec 2013 20:13:52 -0500 Subject: [PATCH 1/2] Mention the 'input' option to use a GFM parser in the kramdown options documentation. --- site/docs/configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/docs/configuration.md b/site/docs/configuration.md index c94656db..96dda3c1 100644 --- a/site/docs/configuration.md +++ b/site/docs/configuration.md @@ -330,6 +330,7 @@ kramdown: toc_levels: 1..6 smart_quotes: lsquo,rsquo,ldquo,rdquo use_coderay: false + input: GFM coderay: coderay_wrap: div From caefd7b85fde0d8eb57824dc0ce85426cd62c49d Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Sun, 8 Dec 2013 22:59:15 -0500 Subject: [PATCH 2/2] move input GFM option down to the bottom, not in the defaults --- site/docs/configuration.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/site/docs/configuration.md b/site/docs/configuration.md index 96dda3c1..df93d9c6 100644 --- a/site/docs/configuration.md +++ b/site/docs/configuration.md @@ -330,7 +330,6 @@ kramdown: toc_levels: 1..6 smart_quotes: lsquo,rsquo,ldquo,rdquo use_coderay: false - input: GFM coderay: coderay_wrap: div @@ -373,3 +372,12 @@ All other extensions retain their usual names from Redcarpet, and no renderer op - `autolink` [redcarpet_extensions]: https://github.com/vmg/redcarpet/blob/v2.2.2/README.markdown#and-its-like-really-simple-to-use + +### Kramdown + +In addition to the defaults mentioned above, you can also turn on recognition of Github Flavored Markdown by passing an `input` option with a value of "GFM". + +For example, in your `_config.yml`: + + kramdown: + input: GFM \ No newline at end of file