Package org.asciidoctor.extension
Annotation Type Format
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface 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 Modifier and Type Optional Element Description java.lang.String
regexp
FormatType
value
-
-
-
Element Detail
-
value
FormatType value
- Default:
- org.asciidoctor.extension.FormatType.CUSTOM
-
-