Jekyll: How to get markdown parsing inside blocks using Kramdown? -
per kramdown docs, setting option parse_block_html
should allow processing of markdown (kramdown) syntax inside html blocks.
in _config.yml
, have settings as:
--- name: blog name markdown: kramdown kramdown: parse_block_html: true ---
then in post .md file, try like:
# headline1 ------------ <div> # headline2 ------------ </div>
the markdown content inside div not translated html upon jekyll build
. missing? (also, there easier way in of other markdown syntaxes, e.g. redcarpet?)
try use inner declaration, , remove indentation (unless want treated code):
# headline1 ------------ {::options parse_block_html="true" /} <div> # headline2 ------------ </div>
Comments
Post a Comment