Per the Kramdown docs, setting the option parse_block_html
should allow for processing of markdown (Kramdown) syntax inside html blocks.
In my _config.yml
, I have the settings as:
---
name: Blog Name
markdown: kramdown
kramdown:
parse_block_html: true
---
Then in a post .md file, I try something like:
# Headline1
------------
<div>
# Headline2
------------
</div>
The markdown content inside the div is not translated into HTML upon jekyll build
. What am I missing? (Also, is there an easier way to do it in any of the other markdown syntaxes, e.g. RedCarpet?)