Login  Register

Defining maps?

Posted by leon on Apr 07, 2020; 9:03am
URL: https://discuss.asciidoctor.org/Defining-maps-tp7845.html

Hello,

While I'm aware of asciidoc attributes as a means for global variable assignment, I'm wondering whether it's possible to define a map-like structure.

Meaning something like:

my_map:{foo: HELLO, bar: WORLD}

leads to my_map.foo[] getting replaced by HELLO.

Is there any way to achieve this?

Any help would be very much appreciated.
-leon