Package org.asciidoctor.extension
Annotation Type Format
This annotation defines how an InlineMacroProcessor is applied.
Possible values are:
FormatType.LONG- to match inline macros of the form:
<macro name> ':' <target> '[' <attributes> ']' FormatType.SHORT- to match inline macros of the form:
<macro name> ':' '[' <attributes> ']' FormatType.CUSTOM- the regular expression defined by the regexp() has to match the macro. The first capture will be mapped to the target, the second to the attributes.
Applicable for:
| BlockMacroProcessor | |
| BlockProcessor | |
| BlockProcessor | |
| DocInfoProcessor | |
| IncludeProcessor | |
| InlineMacroProcessor | ✓ |
| Postprocessor | |
| Preprocessor | |
| Treeprocessor |
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
FormatType value- Default:
- CUSTOM
-
regexp
String regexp- Default:
- ""
-