Methods
parseExtendedAttributes(state, pos)
Parse extended HTML attributes for nodes
ie: {.classname #some_id att=value att2=another}
- on success it returns a string and updates state.pos;
- on failure it returns null
Parameters:
Name | Type | Description |
---|---|---|
state |
Object | |
pos |
Number |
parseLinkDestination(state, pos)
Parse link destination
- on success it returns a string and updates state.pos;
- on failure it returns null
Parameters:
Name | Type | Description |
---|---|---|
state |
Object | |
pos |
Number |
parseLinkLabel(state, start)
Parse link labels
This function assumes that first character ([
) already matches;
returns the end of the label.
Parameters:
Name | Type | Description |
---|---|---|
state |
Object | |
start |
Number |
parseLinkTitle(state, pos)
Parse link title
- on success it returns a string and updates state.pos;
- on failure it returns null
Parameters:
Name | Type | Description |
---|---|---|
state |
Object | |
pos |
Number |