2

I am writing a guide in Asciidoctor for our company. In this guide I would like to define resuable markup fragments which I can use in the document like this one:

:MUST: [small]#Must#

Although the content is verbatim copied to the resulting document. Does anyone know how to define resuable markup snippets with Asciidoctor?

Oliver
  • 3,815
  • 8
  • 35
  • 63

1 Answers1

1
  • Includes are the easiest way to reuse content
  • Macro is an other solution, but this requires some code.

I think that my answer to "how to define own asciidoc macro" also answer your question.

Community
  • 1
  • 1
Jmini
  • 9,189
  • 2
  • 55
  • 77