Re: [O] [PATCH] ox-md.el: enhance example/src blocks support

2016-12-14 Thread Lungang Fang
Hi Nicolas, On Wed, Dec 14, 2016 at 11:22 PM, Nicolas Goaziou wrote: > Unfortunately, this syntax is not recognized in vanilla Markdown syntax > (http://daringfireball.net/projects/markdown/syntax#precode), which > "ox-md.el" handles. > > For special needs, you can create a derived back-end. Ther

Re: [O] [PATCH] ox-md.el: enhance example/src blocks support

2016-12-14 Thread Nicolas Goaziou
Hello, Lungang Fang writes: > * lisp/ox-md.el (org-md-example-block): > Use "```" instead of 4-whitespace indentation for example/src blocks. Thank you. Unfortunately, this syntax is not recognized in vanilla Markdown syntax (http://daringfireball.net/projects/markdown/syntax#precode), which "

[O] [PATCH] ox-md.el: enhance example/src blocks support

2016-12-14 Thread Lungang Fang
* lisp/ox-md.el (org-md-example-block): Use "```" instead of 4-whitespace indentation for example/src blocks. The 4-whitespace has difficulty handling blocks under list items. The new code also allows syntax highlights for Programming languages The following org mode snippet is a test input: - Py