Add kramdown to frontmatter
This commit is contained in:
parent
2eb48ea72a
commit
3a7906a07f
|
@ -9,6 +9,7 @@ module Middleman::CoreExtensions::FrontMatter
|
|||
::Tilt::register RDiscountTemplate, 'markdown', 'mkd', 'md'
|
||||
::Tilt::register RedcarpetTemplate, 'markdown', 'mkd', 'md'
|
||||
::Tilt::register MarukuTemplate, 'markdown', 'mkd', 'md'
|
||||
::Tilt::register KramdownTemplate, 'markdown', 'mkd', 'md'
|
||||
app.set :markdown_engine, MarukuTemplate
|
||||
|
||||
::Tilt::register RedClothTemplate, 'textile'
|
||||
|
@ -93,6 +94,9 @@ module Middleman::CoreExtensions::FrontMatter
|
|||
class RedClothTemplate < ::Tilt::RedClothTemplate
|
||||
include Middleman::CoreExtensions::FrontMatter::YamlAware
|
||||
end
|
||||
class KramdownTemplate < ::Tilt::KramdownTemplate
|
||||
include Middleman::CoreExtensions::FrontMatter::YamlAware
|
||||
end
|
||||
|
||||
class ERBTemplate < ::Tilt::ERBTemplate
|
||||
include Middleman::CoreExtensions::FrontMatter::YamlAware
|
||||
|
|
Loading…
Reference in a new issue