Hi Hraban,

If it works and adheres to the necessary structure, I’ll add it to the list of installable modules. I don’t judge usefulness.

We should appreciate efforts so indeed no judgements (unless of course something doesn't fit into context or is overloading or conflicting with existing functionality but that is hard to determine and we have no time to check code anyway.)

I’d use Pandoc to convert Markdown to ConTeXt, if it’s just one-time, like:
pandoc -f markdown -t context --template=mytemplate.tex pandoc- example.md  > example.tex

And if it is one-time then I suppose you do some cleanup and adaptation?

(Make me wonder, does converting to e.g. xml or docbook give a more rich starting point? After all we can handle that.)

Otherwise, Aditya’s filter module covers most cases of inclusion of text-based formats: https://github.com/adityam/filter

I found back some old m-markdown files (more a historic thing as i never was much into markdown apart from once speeding up and mem-fixing some third party lua code) so i'll add these to the distribution which then means that with the proposed new module users then have plenty possibilities. It reminds me that we need to follow up on the asciidoc presented at meetings in order to get the repertoire covered.

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to