← Prev in month ← Prev in thread
Next in thread → Next in month →

I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?

From
Loren Cahlander <>
Date
2019-02-07T16:22:17+00:00
ID
Thread
I have paragraphs that contains MarkDown. Is there a way in the XSLT to process them as markdown?
I am working on generating PDFs out of xqDoc http://xqdoc.org extracted from XQuery code where the descriptions can be in the format of MarkDown.

        <xqdoc:function>
            <xqdoc:comment>
                <xqdoc:description>Upload zip file to the server</xqdoc:description>
                <xqdoc:param>$files
## The uploaded files

* The map's keys represent the filenames of each file uploaded
* The map's values are themselves maps too, let's call this an "entry map"
* The entry map contains two keys, a content-type and a body
* The value for content-type is the Content Type of this particular file
* The value for body is the Content Body of this particular file as a binary() item</xqdoc:param>
            </xqdoc:comment>
            <xqdoc:name>upload</xqdoc:name>

.

.

.        </xqdoc:function>

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?

Right now, I have it generating:

<db:para>## The uploaded files* The map's keys represent the filenames of each file uploaded* The map's values are themselves maps too, let's call this an "entry map"* The entry map contains two keys, a content-type and a body* The value for content-type is the Content Type of this particular file* The value for body is the Content Body of this particular file as a binary() item

</db:para>

Attachment:
signature.asc

Description: Message signed with OpenPGP
← Prev in month ← Prev in thread
Next in thread → Next in month →