summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-20 21:51:29 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-20 21:55:30 +0100
commit48c88d566d19683a7d5b63f88c8b4487234e3712 (patch)
tree1ae336f35247b25c5b79b1a08b937e2341f93f18 /MANUAL.txt
parent2d94d4833290692f1673b83a8068ac466cc77619 (diff)
Add `space_in_atx_header` extension.
This is enabled by default in pandoc and GitHub markdown but not the other flavors. This requirse a space between the opening #'s and the header text in ATX headers (as CommonMark does but many other implementations do not). This is desirable to avoid falsely capturing things ilke #hashtag or #5 Closes #3512.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 12e3b2f9e..520e8f5d5 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1634,6 +1634,12 @@ wrapping). Consider, for example:
I like several of their flavors of ice cream:
#22, for example, and #5.
+#### Extension: `space_in_atx_header` ####
+
+Many Markdown implementations do not require a space between the
+opening `#`s of an ATX header and the header text, so that
+`#5 bolt` and `#hashtag` count as headers. With this extension,
+pandoc does require the space.
### Header identifiers ###