summaryrefslogtreecommitdiff
path: root/src/clarktown/matchers/heading_block.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clarktown/matchers/heading_block.clj')
-rw-r--r--src/clarktown/matchers/heading_block.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clarktown/matchers/heading_block.clj b/src/clarktown/matchers/heading_block.clj
index 1a9a451..7cf931d 100644
--- a/src/clarktown/matchers/heading_block.clj
+++ b/src/clarktown/matchers/heading_block.clj
@@ -6,7 +6,7 @@
(defn is-atx-heading?
"Determines whether the given block is a atx heading."
[block]
- (re-matches #"^\#{1,6}\s.*" block))
+ (re-matches #"^\s{0,3}?\#{1,6}\s.*" block))
(defn is-settext-heading?