1 2 3 4 5 6 7 8 9 10 11
(ns clarktown.matchers.quote-block (:require [clojure.string :as string])) (defn match? "Determines whether the given block is a quote block." [block] (-> (string/replace block #"\n" "") string/trim (string/starts-with? ">")))