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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -