1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
(ns clarktown.parsers.empty-block (:require [clojure.string :as string])) (defn is? "Determines if the current block is an empty block or not." [block] (-> (string/replace block #"\n" "") string/trim string/blank?)) (defn render "Renders an empty block." [_ _] "")