Re: [docbook-apps] I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?

From
Dave Pawson <>
Date
2019-02-11T14:34:35+00:00
ID
CAEncD4cRRcsgupNa+=FdndHbvcw-6LQ=
Thread
Re: [docbook-apps] I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?
Neat Jirka.
Of note, "Md2doc supports canonical Markdown specification by John Gruber"

regards

On Mon, 11 Feb 2019 at 14:14, Jirka Kosek <> wrote:
>
> On 7.2.2019 17:22, Loren Cahlander wrote:
> > The entry for the param of $files is in MarkDown format.  Is there a way for the MarkDown to be processed when generating the PDF?
>
> Hi Loren,
>
> student of my wrote XSLT 2 transform that can parse Markdown and convert
> it to DocBook:
>
> https://github.com/MSmid/markdown2docbook
>
> You can add preprocessing step that would expand Markdown to DocBook
> prior normal DocBook processing.
>
>                                 Jirka
>
> --
> ------------------------------------------------------------------
>   Jirka Kosek      e-mail:       http://xmlguru.cz
> ------------------------------------------------------------------
>      Professional XML and Web consulting and training services
> DocBook/DITA customization, custom XSLT/XSL-FO document processing
> ------------------------------------------------------------------
>     Bringing you XML Prague conference    http://xmlprague.cz
> ------------------------------------------------------------------
>


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.