Skip to navigation

Markup definition

Referenced In

Fields

FieldTypeDescriptionDefault
namestringOptional. Name of the markup definition—
regexone of:
- string
- array of string
Optional. Regular expressions to match the markup type.—
batchMatchesbooleanOptional. If true, all matches are combined into a single string.false
actionsone of:
- string
- array of one of: string, object
Optional. Actions to perform when the markup type is detected.—

Examples

{
"name": "example",
"regex": "example",
"batchMatches": false,
"actions": "annotate"
}