@yogthos would you please consider merging https://github.com/cryogen-project/cryogen-asciidoc/pull/13 when you get the time for that? (I would just be happy to have it in in the context of https://hacktoberfest.digitalocean.com/ :))
Anyone here wants to give a try to the incremental compilation feature? You can do this with this deps.edn inside your blog and the described slight change to your server.clj: https://gist.github.com/holyjak/f32450d91bd31ebc57cfb3764c36c04a
@holyjak I have provided common defaults with the aliases where possible, to reduce the cognitive load of remembering what the options are (no options are easy to remember). If there are multiple functions that could be called for a library, then I typically create multiple aliases. This way only key value pairs are ever passed, keeping a more consistent command line. Thanks. Feel free to ask in the #practicalli channel for anything relating to the configurations or content I've created.
I'm ok to merge it if looks good to @carmen
LGTM!
ok 0.3.3 is up on Clojars
So cool! With the latest cryogen-asciidoc 0.3.3 I can finally write text like
> Now I am talking about abbr:AOP["Aspect-Orinted Programming"], an important topic.
to get Now I am talking about <abbr title="Aspect-Orinted Programming">AOP</abbr>, an important topic.
given that I have this macro
(defn ^{:extension/types #{:inline :block}} abbr
"abbr:AOP[\"Aspect-Oriented Programming\"] -> abbr with title."
[^BaseProcessor this ^ContentNode parent ^String target attributes]
;; Returning a string is "deprecated" but still possible and since there is no
;; other way...
;; See <https://discuss.asciidoctor.org/How-to-create-inline-macro-producing-HTML-In-AsciidoctorJ-td8313.html>
(str "<abbr title=\"" (get attributes "1" "N/A") "\">" target "</abbr>"))
and register it properly via config.edn
:
:asciidoctor {:extensions {"abbr" my.ns/abbr}}
😻This (likely my last for a while) PR adds support for #tools-deps to a newly created cryogen site so that it can be used instead of #leiningen , making it much easier to switch to different local / git+sha versions of libraries: https://github.com/cryogen-project/cryogen/pull/221
@holyjak Thank you! As someone who recently had to install Leiningen on my laptop just to run Cryogen, I appreciate the future ability to use the CLI instead!