OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]