From 75870fbc450a9a973698ababa4eef35bbe63f747 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Fri, 14 Sep 2018 15:52:32 +0200 Subject: Minor fixes to xml2md.xsl - Remove outdated comment - Fix code block delimiter --- tools/xml2md.xsl | 69 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 29 deletions(-) diff --git a/tools/xml2md.xsl b/tools/xml2md.xsl index 2fc7ce1..0122e5f 100644 --- a/tools/xml2md.xsl +++ b/tools/xml2md.xsl @@ -10,8 +10,6 @@ Since the XML output is lossy, a lossless MD->XML->MD roundtrip isn't possible. The XML->MD->XML roundtrip should produce the original XML, though. -HTML blocks and inlines aren't supported. - Example usage with xsltproc: cmark -t xml doc.md | xsltproc -novalid xml2md.xsl - @@ -123,15 +121,23 @@ Example usage with xsltproc: - - ``` + + + + + + + + + + - + - ``` + @@ -228,28 +234,16 @@ Example usage with xsltproc: - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + @@ -280,7 +274,7 @@ Example usage with xsltproc: - + @@ -305,4 +299,21 @@ Example usage with xsltproc: + + + + + + + + + + + + + + + + + -- cgit v1.2.3