1 2 3 4 5 6 7 8 9 10
(ns clarktown.matchers.fenced-code-block (:require [clojure.string :as string])) (defn match? "Determines whether we're dealing with a code block." [block] (and (string/starts-with? block "```") (string/ends-with? block "```")))