summaryrefslogtreecommitdiff
path: root/src/clarktown/correctors.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clarktown/correctors.clj')
-rw-r--r--src/clarktown/correctors.clj21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/clarktown/correctors.clj b/src/clarktown/correctors.clj
new file mode 100644
index 0000000..14d82ca
--- /dev/null
+++ b/src/clarktown/correctors.clj
@@ -0,0 +1,21 @@
+(ns clarktown.correctors
+ (:require
+ [clarktown.correctors.code-block :as code-block]
+ [clarktown.correctors.atx-heading-block :as atx-heading-block]))
+
+
+(def
+ ^{:doc "The default block separation correctors."}
+ default-block-separation-correctors
+ {:empty-line-above?
+ [code-block/empty-line-above?
+ atx-heading-block/empty-line-above?]
+ :empty-line-below?
+ [code-block/empty-line-below?
+ atx-heading-block/empty-line-below?]})
+
+
+(def
+ ^{:doc "The default correctors."}
+ default-correctors
+ {:block-separations default-block-separation-correctors}) \ No newline at end of file