Fork me on GitHub
Jakub Holý (HolyJak)10:10:29

@yogthos would you please consider merging when you get the time for that? (I would just be happy to have it in in the context of :))


I'm ok to merge it if looks good to @U0DJK1VH6

❤️ 3

ok 0.3.3 is up on Clojars

❤️ 3
Jakub Holý (HolyJak)10:10:44

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:


@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.

👍 3
❤️ 3
Jakub Holý (HolyJak)19:10:50

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 
  (str "<abbr title=\"" (get attributes "1" "N/A") "\">" target "</abbr>"))
and register it properly via config.edn :
:asciidoctor          {:extensions {"abbr" my.ns/abbr}}

❤️ 6
Jakub Holý (HolyJak)19:10:33

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:

👍 3

@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!

❤️ 3