Liking cljdoc? Tell your friends :D

clarktown.correctors.code-block


empty-line-above?clj

(empty-line-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 code block, which starts with three backticks (```), 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 
code block, which starts with three backticks (```), if there's
no empty newline above, we need to create one, and so this
function must then return `true`.
sourceraw docstring

empty-line-below?clj

(empty-line-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 code block, which ends with three backticks (```), 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
below the `line` at the current `index`. In the case of a 
code block, which ends with three backticks (```), if there's
no empty newline above, we need to create one, and so this 
function must then return `true`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close