aboutsummaryrefslogtreecommitdiff
path: root/CommonMark.dtd
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-14 15:51:36 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-14 15:51:36 -0800
commitb7b85536c20a4f57030a54f7ca44764e85082b35 (patch)
treece292c3bb4d3b4177e78795250e59d4c04654557 /CommonMark.dtd
parente84384dc4a0b28ecb90ab997fe5138817bf6b013 (diff)
Added comment on sourcepos attribute format in dtd.
Closes #298.
Diffstat (limited to 'CommonMark.dtd')
-rw-r--r--CommonMark.dtd9
1 files changed, 7 insertions, 2 deletions
diff --git a/CommonMark.dtd b/CommonMark.dtd
index 27de97a..c006eee 100644
--- a/CommonMark.dtd
+++ b/CommonMark.dtd
@@ -67,6 +67,11 @@
url CDATA #REQUIRED
title CDATA #IMPLIED>
-<!-- all elements can have a sourcepos attribute -->
-
+<!-- All elements can have a sourcepos attribute.
+ The format is SL:SC-EL:EC
+ where SL = number of starting line (first line = 1)
+ EL = number of ending line
+ SC = number of starting column (first column = 1)
+ EC = number of ending column
+-->
<!ATTLIST ANY sourcepos CDATA #IMPLIED>