From 04821d8be5d773153718948454c864495704f67b Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Thu, 21 Apr 2022 19:13:02 +0300 Subject: Send correctors to each render as well --- src/clarktown/correctors.clj | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/clarktown/correctors.clj') diff --git a/src/clarktown/correctors.clj b/src/clarktown/correctors.clj index d97defa..14d82ca 100644 --- a/src/clarktown/correctors.clj +++ b/src/clarktown/correctors.clj @@ -4,7 +4,9 @@ [clarktown.correctors.atx-heading-block :as atx-heading-block])) -(def default-block-separation-correctors +(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?] @@ -13,5 +15,7 @@ atx-heading-block/empty-line-below?]}) -(def default-correctors +(def + ^{:doc "The default correctors."} + default-correctors {:block-separations default-block-separation-correctors}) \ No newline at end of file -- cgit v1.2.3