Am 20.07.2011 um 14:24 schrieb Hans Hagen:
On 19-7-2011 7:25, Wolfgang Schuster wrote:
Can you then also add a few features:
- Headings use \startstructurelevel - Paragraphs are enclosed in startparagraph/stopparagraph - emphasis and bold styles use \definehiglight command
to make it possible to change the layout of markdown documents where ConTeXt is only used to produce a PDF.
I uploaded a beta with a markdown module. Not being a user myself I leave it to others to provide documentation and examples.
\starttext \startmarkdown % some examples needed \stopmarkdown \stoptext
m-markdown.mkiv \definedelimitedtext [markdownblockquote] - [markdownquotation] + [quotation] % blockquote How about a parameter to change the output of the rule: %\unexpanded\def\markdownrule % {\hairline\par} \unexpanded\def\markdownrule {\markdownparameter\c!rule} Wolfgang