Update Extras page in the docs to include Kramdown to fix #1313

This commit is contained in:
John Hughes 2013-07-16 20:30:22 +01:00
parent 475c4c399d
commit 52b3afdb71
1 changed files with 22 additions and 1 deletions

View File

@ -19,7 +19,7 @@ fork](http://github.com/remi/maruku).
## RDiscount ## RDiscount
If you prefer to use [RDiscount](http://github.com/rtomayko/rdiscount) instead If you prefer to use [RDiscount](http://github.com/rtomayko/rdiscount) instead
of [Maruku](http://github.com/bhollis/maruku) for markdown, just make sure you have of [Maruku](http://github.com/bhollis/maruku) for Markdown, just make sure you have
it installed: it installed:
{% highlight bash %} {% highlight bash %}
@ -33,3 +33,24 @@ have Jekyll run with that option.
# In _config.yml # In _config.yml
markdown: rdiscount markdown: rdiscount
{% endhighlight %} {% endhighlight %}
## Kramdown
You can also use [Kramdown](http://kramdown.rubyforge.org/) instead of Maruku
for Markdown. Make sure that Kramdown is installed:
{% highlight bash %}
$ sudo gem install kramdown
{% endhighlight %}
Then you can specify Kramdown as the Markdown engine in `_config.yml`.
{% highlight bash %}
# In _config.yml
markdown: kramdown
{% endhighlight %}
Kramdown has various options for customizing the HTML output. The
[Configuration](/docs/configuration/) page lists the default options used by
Jekyll. A complete list of options is also available on the [Kramdown
website](http://kramdown.rubyforge.org/options.html).