Hi,
first of all, thanks for this brilliant piece of software.
I'm currently considering to use Madoko, a Markdown processor for Latex and HTML (https://www.madoko.net) for writing up some documentation which would allow me to export the result as PDF and use it for the Web, too. For the Web part, I would ideally like to use Grav but Madoko has (of course) a different set of Markdown tags than Grav so that some transformation is necessary; this mapping can be pretty complex but realistically I will be using only a number of markdowns that are specific to Madoko so in the simplest case it may just be some stripping of tags that are unknown to Grav (such as [TOC] for table of contents etc.) and some conversions where necessary (e.g. for inserting images etc.)
What would be the best place to do this kind of transformation? I thought of
- shell scripts or Perl scripts that do some text processing before copying the markdown files to grav's user folder
- a Grav plugin
- Some Twig wizardy (don't think that this would work, though, as the conversion should probably happen be fore the content is passed to Twig)
Can you point me in the right direction for me to dig further?
Thanks a lot,
Johannes