jekyll - rdiscount enable parsing markdown within block html? -
is there global option rdiscount enable parsing markdown in block html tags? , way use option within octopress/jekyll? option kramdown supports:
parse_block_html process kramdown syntax in block html tags if option true, kramdown parser processes content of block html tags text containing block-level elements. since not wanted normally, default false. better selectively enable kramdown processing via markdown attribute.
default: false
unfortunately, jekyll not pass kramdown flag kramdown. opened issue on that: https://github.com/mojombo/jekyll/issues/1095
no. there no rdiscount option this. options listed in api docs here: http://rdoc.info/github/davidfstr/rdiscount/rdiscount
here workaround jekyll/octopress. consider following example:
<div> want in *markdown*! </div>
you can use markdownify
tag in jekyll manually force section in markdown:
<div> {% capture m %}i want in *markdown*!{% endcapture %} {{ m | markdownify }} </div>
Comments
Post a Comment