I am working on generating PDFs out of xqDoc http://xqdoc.org <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>
signature.asc
Description: Message signed with OpenPGP
