From fa565c62f59197c0d5577e87c8c60676fe137e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20P=C3=A4per?= Date: Fri, 5 Oct 2018 19:08:48 +0200 Subject: [PATCH] Update CommonMark.dtd - make it possible to retain source code information where syntax variants are possible - exclude links within links Not sure whether this would work: --- CommonMark.dtd | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/CommonMark.dtd b/CommonMark.dtd index 62e5c8a4..8fbdec19 100644 --- a/CommonMark.dtd +++ b/CommonMark.dtd @@ -4,6 +4,8 @@ 'block_quote|list|code_block|paragraph|heading|thematic_break|html_block|custom_block'> + @@ -25,15 +28,19 @@ + level (1|2|3|4|5|6) #REQUIRED + type (underlined|prefixed) #IMPLIED> - + + + + + - + + title CDATA #IMPLIED + label CDATA #IMPLIED + type (inline|reference|shortcut|auto)> + title CDATA #IMPLIED + label CDATA #IMPLIED + type (inline|reference|shortcut)>