hashobject / perun

Programmable static site generator built with Clojure and Boot (HELP NEEDED!)
https://perun.io
Eclipse Public License 1.0
350 stars 38 forks source link

feat(asciidoctor): handle metadata #191

Open nicorikken opened 7 years ago

nicorikken commented 7 years ago

Adds metadata handling to the asciidoctor task. The asciidoctor task will now:

  1. read asciidoctor attributes and add them as metadata
  2. expose metadata to the asciidoctor process as attributes

Both processes are executed independently from each other.

nicorikken commented 7 years ago

As promised (https://github.com/hashobject/perun/pull/100), a new Asciidoctor pull request, for handling metadata.

Some notes for review:

nicorikken commented 7 years ago

As mentioned I'm also working on getting asciidoctor-diagram to function. I'm aiming for the inline svg solution (https://github.com/asciidoctor/asciidoctor/issues/1301) as a start, not having to deal with the Boot file handing. Somehow the JRuby container cannot access the binaries on my system for the actual image generation, so that'll take some more time. Similarly perhaps syntax highlighting will become a feature.