asciidoctor / asciidoctorj

:coffee: Java bindings for Asciidoctor. Asciidoctor on the JVM!
http://asciidoctor.org
Apache License 2.0
627 stars 172 forks source link

Adding docs for accessing named and positional attributes in BlockPro… #1072

Closed robertpanzer closed 2 years ago

robertpanzer commented 2 years ago

…cessors

Thank you for opening a pull request and contributing to AsciidoctorJ!

Please take a bit of time giving some details about your pull request:

Kind of change

Description

We do not have much/any documentation yet for how processors access attributes and in particular how to access positional attributes. This PR tries to add them. I am starting with an extension to the BlockProcessor documentation, and would then add similar sections for Block- and Inline Macros.

robertpanzer commented 2 years ago

Added a section about positional attributes to the inline macro processor docs.

robertpanzer commented 2 years ago

Updated the PR with a section about accessing (positional) attributes for Block Macro processors. The PR should be "feature complete" now, i.e., I am not planning to add further content unless there are PR comments for how to make this better or fix errors that I might have made.

robertpanzer commented 2 years ago

Updated the PR to use symlinks to make the documentation tests available to the antora module.