mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Document support for Kramdown and fix URLs
This commit is contained in:
parent
ff0dce6380
commit
d45e968d8b
3 changed files with 10 additions and 9 deletions
|
@ -1094,10 +1094,10 @@ and handles encoding-related issues
|
|||
There are numerous improvements to the Markdown filter.
|
||||
No longer will Haml attempt to use RedCloth's inferior Markdown implementation.
|
||||
Instead, it will look for all major Markdown implementations:
|
||||
[RDiscount](http://github.com/rtomayko/rdiscount),
|
||||
[RPeg-Markdown](http://github.com/rtomayko/rpeg-markdown),
|
||||
[RDiscount](https://github.com/rtomayko/rdiscount),
|
||||
[RPeg-Markdown](https://github.com/rtomayko/rpeg-markdown),
|
||||
[Maruku](http://maruku.rubyforge.org),
|
||||
and [BlueCloth](www.deveiate.org/projects/BlueCloth).
|
||||
and [BlueCloth](http://www.deveiate.org/projects/BlueCloth).
|
||||
|
||||
#### `:cdata`
|
||||
|
||||
|
|
|
@ -1267,10 +1267,11 @@ Only works if [RedCloth](http://redcloth.org) is installed.
|
|||
{#markdown-filter}
|
||||
### `:markdown`
|
||||
Parses the filtered text with [Markdown](http://daringfireball.net/projects/markdown).
|
||||
Only works if [RDiscount](http://github.com/rtomayko/rdiscount),
|
||||
[RPeg-Markdown](http://github.com/rtomayko/rpeg-markdown),
|
||||
Only works if [RDiscount](https://github.com/rtomayko/rdiscount),
|
||||
[RPeg-Markdown](https://github.com/rtomayko/rpeg-markdown),
|
||||
[Maruku](http://maruku.rubyforge.org),
|
||||
or [BlueCloth](www.deveiate.org/projects/BlueCloth) are installed.
|
||||
[Kramdown](https://github.com/gettalong/kramdown),
|
||||
or [BlueCloth](http://www.deveiate.org/projects/BlueCloth) are installed.
|
||||
|
||||
{#maruku-filter}
|
||||
### `:maruku`
|
||||
|
|
|
@ -346,10 +346,10 @@ END
|
|||
Filters.defined['redcloth'] = RedCloth
|
||||
|
||||
# Parses the filtered text with [Markdown](http://daringfireball.net/projects/markdown).
|
||||
# Only works if [RDiscount](http://github.com/rtomayko/rdiscount),
|
||||
# [RPeg-Markdown](http://github.com/rtomayko/rpeg-markdown),
|
||||
# Only works if [RDiscount](https://github.com/rtomayko/rdiscount),
|
||||
# [RPeg-Markdown](https://github.com/rtomayko/rpeg-markdown),
|
||||
# [Maruku](http://maruku.rubyforge.org),
|
||||
# or [BlueCloth](www.deveiate.org/projects/BlueCloth) are installed.
|
||||
# or [BlueCloth](http://www.deveiate.org/projects/BlueCloth) are installed.
|
||||
module Markdown
|
||||
include Base
|
||||
lazy_require 'rdiscount', 'peg_markdown', 'maruku', 'bluecloth', 'kramdown'
|
||||
|
|
Loading…
Reference in a new issue