   (:require [clojure.java.shell :refer [sh]]
             [cheshire.core :refer [generate-string]])
   (:import [java.io File]
-           [org.pegdown PegDownProcessor]))
+           [org.pegdown PegDownProcessor Extensions]))
 
  ;; config


(defn -main [& args]
  (println "Processing files")
  (process-org-files (get-orgbuild-config))
  (System/exit 0))

;; md

(def extensions
  [Extensions/FENCED_CODE_BLOCKS Extensions/TABLES])

(def peg-down-processor
  (PegDownProcessor. (int (apply bit-or extensions))))

(def split-file-on-triple-dash
  (partial split-file-on "---"))
