~/talk

Spice Up Asciidoctor Documentation With Java

Talkat J-Fall 2022 · on Thursday, 2022-11-03· [documentation, java]
slides:none on file

Shows how to run Asciidoctor on the JVM with AsciidoctorJ, use it as a CLI or Gradle/Maven dependency, and extend the parser with Java extensions that actually work. Demonstrates an inline macro processor turning "mastodon:mrhaki" into a clickable link, an include processor that embeds RSS as Asciidoc lists, and registering extensions via META-INF/services so a jar plugs into the CLI. Generates HTML and PDF, supports converting strings or files, and is unit-testable; the examples compile and produce the expected output.

AI-written summary · about

  1. 0:00Introduction to session
  2. 1:07About the speaker
  3. 1:49Agenda overview
  4. 2:31What is Asciidoctor
  5. 3:33Introducing AsciidoctorJ
  6. 3:55Asciidoc markup basics
  7. 5:20Common Asciidoc features
  8. 6:22Custom blocks and extensions
  9. 7:25Including source code
  10. 8:46Using AsciidoctorJ CLI
  11. 9:51Generating HTML output
  12. 10:55Integration with build tools
  13. 11:58Using AsciidoctorJ in Java code
  14. 13:25Converting files programmatically
  15. 15:30Generating PDF output
  16. 16:11Converting strings
  17. 18:06Document structure access
  18. 19:56Transformation process explained
  19. 21:00Abstract syntax tree basics
  20. 22:05Extending parsing process
  21. 23:49Extending generation process
  22. 25:34Writing inline macro processor
  23. 31:56Testing custom processor
  24. 37:21Packaging extensions for CLI
  25. 39:30Using extensions in CLI
  26. 41:15Writing include processor
  27. 43:43Using existing extensions
  28. 44:45Popular extension examples
  29. 46:07Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.