Interface: AnyTag
Hierarchy
Tag
↳
AnyTag
Properties
attributesSchema
• Optional
attributesSchema: AnySchema
JSON schema of the attributes list
Inherited from
Tag.attributesSchema
Defined in
description
• Optional
description: string
A helpful description of what the tag is supposed to do
Inherited from
Tag.description
Defined in
name
• name: string
The tag name. For block tags this should not include -start or -end.
Inherited from
Tag.name
Defined in
rules
• Optional
rules: Rule
[]
Validator rules to determine if the tag meets requirements before processing is possible
Inherited from
Tag.rules
Defined in
shorthandArgsAttributeName
• Optional
shorthandArgsAttributeName: string
The attribute name that shorthand arguments map to. If not provided, then shorthands are rejected.
Example: given shorthandArgsAttributeName = "id", the following shorthand:
:some-tag-start: somename somename2
would map to the following attribute list:
:some-tag-start: { "id": ["somename", "somename2"] }
Inherited from
Tag.shorthandArgsAttributeName
Defined in
supportsBlockMode
• supportsBlockMode: boolean
Defined in
supportsLineMode
• supportsLineMode: boolean
Defined in
Methods
process
▸ process(request
): NotPromise
Parameters
Name | Type |
---|---|
request | ProcessRequest <AnyTagNode > |
Returns
NotPromise