Liking cljdoc? Tell your friends :D

clarktown.correctors.atx-heading-block


newline-above?clj

(newline-above? lines line index)

Determines whether there's a need for an empty new line above the line at the current index. In the case of a ATX heading block that starts with the # character, if there's no empty newline above, we need to create one, and so this function must then return true.

Determines whether there's a need for an empty new line 
above the `line` at the current `index`. In the case of a 
ATX heading block that starts with the `#` character, if 
there's no empty newline above, we need to create one, and 
so this function must then return `true`.
sourceraw docstring

newline-below?clj

(newline-below? lines line index)

Determines whether there's a need for an empty new line below the line at the current index. In the case of a ATX heading block that starts with the # character, if there's no empty newline below, we need to create one, and so this function must then return true.

Determines whether there's a need for an empty new line
below the `line` at the current `index`. In the case of a 
ATX heading block that starts with the `#` character, if
there's no empty newline below, we need to create one, and
so this function must then return `true`.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close