Compare commits
4 commits
master
...
nextjourna
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7a3688717 | ||
|
|
774a1550ef | ||
|
|
52cdd9d58e | ||
|
|
c623b8ed67 |
6 changed files with 28 additions and 3 deletions
3
deps.edn
3
deps.edn
|
|
@ -52,7 +52,8 @@
|
|||
org.babashka/cli {:mvn/version "0.8.65"}
|
||||
org.babashka/http-client {:mvn/version "0.4.22"}
|
||||
org.flatland/ordered {:mvn/version "1.15.12"}
|
||||
org.jsoup/jsoup {:mvn/version "1.20.1"}}
|
||||
org.jsoup/jsoup {:mvn/version "1.20.1"}
|
||||
io.github.nextjournal/markdown {:mvn/version "0.6.157"}}
|
||||
:aliases {:babashka/dev
|
||||
{:main-opts ["-m" "babashka.main"]}
|
||||
:profile
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
[org.babashka/cli "0.8.65"]
|
||||
[org.babashka/http-client "0.4.22"]
|
||||
[org.jsoup/jsoup "1.20.1"]
|
||||
[io.github.nextjournal/markdown "0.6.157"]
|
||||
[borkdude/graal.locking "0.0.2"]]
|
||||
:plugins [[org.kipz/lein-meta-bom "0.1.1"]]
|
||||
:metabom {:jar-name "metabom.jar"}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@
|
|||
org.babashka/cli {:mvn/version "0.8.65"}
|
||||
org.babashka/http-client {:mvn/version "0.4.22"}
|
||||
org.flatland/ordered {:mvn/version "1.15.12"}
|
||||
org.jsoup/jsoup {:mvn/version "1.20.1"}}
|
||||
org.jsoup/jsoup {:mvn/version "1.20.1"}
|
||||
io.github.nextjournal/markdown {:mvn/version "0.6.157"}}
|
||||
:aliases {:babashka/dev
|
||||
{:main-opts ["-m" "babashka.main"]}
|
||||
:profile
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ Args=-H:+ReportExceptionStackTraces \
|
|||
--initialize-at-build-time=com.fasterxml.jackson \
|
||||
--initialize-at-build-time=java.sql.SQLException \
|
||||
--initialize-at-build-time=org.yaml.snakeyaml \
|
||||
--initialize-at-build-time=org.nibor.autolink \
|
||||
--initialize-at-build-time=org.commonmark \
|
||||
--initialize-at-run-time=org.postgresql.sspi.SSPIClient \
|
||||
--initialize-at-run-time=org.httpkit.client.ClientSslEngineFactory$SSLHolder \
|
||||
-H:ServiceLoaderFeatureExcludeServices=javax.sound.sampled.spi.AudioFileReader \
|
||||
|
|
|
|||
17
src/babashka/impl/markdown.clj
Normal file
17
src/babashka/impl/markdown.clj
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
(ns babashka.impl.markdown
|
||||
(:require [nextjournal.markdown]
|
||||
[nextjournal.markdown.transform]
|
||||
[nextjournal.markdown.impl :as impl]
|
||||
[sci.core :as sci]))
|
||||
|
||||
@@#'impl/visitChildren-meth
|
||||
|
||||
(def mdns (sci/create-ns 'nextjournal.markdown nil))
|
||||
|
||||
(def markdown-namespace (sci/copy-ns nextjournal.markdown mdns))
|
||||
|
||||
(def mdtns (sci/create-ns 'nextjournal.markdown.transform nil))
|
||||
|
||||
(def markdown-transform-namespace (sci/copy-ns nextjournal.markdown.transform mdtns))
|
||||
|
||||
|
||||
|
|
@ -39,6 +39,7 @@
|
|||
[babashka.impl.http-client :refer [http-client-namespace
|
||||
http-client-websocket-namespace
|
||||
http-client-interceptors-namespace]]
|
||||
[babashka.impl.markdown :as md]
|
||||
[babashka.impl.nrepl-server :refer [nrepl-server-namespace]]
|
||||
[babashka.impl.pods :as pods]
|
||||
[babashka.impl.pprint :refer [pprint-namespace]]
|
||||
|
|
@ -432,7 +433,9 @@ Use bb run --help to show this help output.
|
|||
'babashka.cli cli/cli-namespace
|
||||
'babashka.http-client http-client-namespace
|
||||
'babashka.http-client.websocket http-client-websocket-namespace
|
||||
'babashka.http-client.interceptors http-client-interceptors-namespace}
|
||||
'babashka.http-client.interceptors http-client-interceptors-namespace
|
||||
'nextjournal.markdown md/markdown-namespace
|
||||
'nextjournal.markdown.transform md/markdown-transform-namespace}
|
||||
features/xml? (assoc 'clojure.data.xml @(resolve 'babashka.impl.xml/xml-namespace)
|
||||
'clojure.data.xml.event @(resolve 'babashka.impl.xml/xml-event-namespace)
|
||||
'clojure.data.xml.tree @(resolve 'babashka.impl.xml/xml-tree-namespace))
|
||||
|
|
|
|||
Loading…
Reference in a new issue