From 71a971ff46ec8c0f57061162321edcd9e2a8588f Mon Sep 17 00:00:00 2001 From: Stephen Checkoway Date: Sun, 24 Jul 2016 20:21:31 -0500 Subject: [PATCH] Make the documentation match the code. --- site/_docs/configuration.md | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/site/_docs/configuration.md b/site/_docs/configuration.md index 11915621..1dc6f9ce 100644 --- a/site/_docs/configuration.md +++ b/site/_docs/configuration.md @@ -571,11 +571,13 @@ file or on the command-line. # Where things are source: . destination: ./_site -plugins_dir: ./_plugins -layouts_dir: ./_layouts -data_dir: ./_data -includes_dir: ./_includes -collections: null +plugins_dir: _plugins +layouts_dir: _layouts +data_dir: _data +includes_dir: _includes +collections: + posts: + output: true # Handling Reading safe: false @@ -607,6 +609,7 @@ detach: false port: 4000 host: 127.0.0.1 baseurl: "" # does not include hostname +show_dir_listing: false # Outputting permalink: date @@ -614,8 +617,12 @@ paginate_path: /page:num timezone: null quiet: false +verbose: false defaults: [] +liquid: + error_mode: warn + # Markdown Processors rdiscount: extensions: [] @@ -629,17 +636,20 @@ kramdown: entity_output: as_char toc_levels: 1..6 smart_quotes: lsquo,rsquo,ldquo,rdquo - enable_coderay: false - - coderay: - coderay_wrap: div - coderay_line_numbers: inline - coderay_line_number_start: 1 - coderay_tab_width: 4 - coderay_bold_every: 10 - coderay_css: style + input: GFM + hard_wrap: false + footnote_nr: 1 {% endhighlight %} +## Liquid Options + +Liquid's response to errors can be configured by setting `error_mode`. The +options are + +- `lax` --- Ignore all errors. +- `warn` --- Output a warning on the console for each error. +- `strict` --- Output an error message and stop the build. + ## Markdown Options The various Markdown renderers supported by Jekyll sometimes have extra options @@ -689,16 +699,6 @@ extensions are: [redcarpet_extensions]: https://github.com/vmg/redcarpet/blob/v3.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 - ### Custom Markdown Processors If you're interested in creating a custom markdown processor, you're in luck! Create a new class in the `Jekyll::Converters::Markdown` namespace: