type
InlineContentParserFactory
src
@Js
const mixin InlineContentParserFactory
A factory for extending inline content parsing.
methods
create |
Create an |
---|---|
triggerChars |
An inline content parser needs to have a special "trigger" character which activates it. |
Slot Details
create
src
abstract InlineContentParser create()
Create an InlineContentParser
that will do the parsing. Create is called once per text snippet of inline content inside block structures, and then called each time a trigger character is encountered.
triggerChars
src
abstract Int[] triggerChars()
An inline content parser needs to have a special "trigger" character which activates it. When this character is encountered during inline parsing, InlineContentParser.tryParse
is called wit hthe current parser state. It can also register for more than one trigger character