Skip to content

Commit

Permalink
inint
Browse files Browse the repository at this point in the history
  • Loading branch information
M-ZubairAhmed committed Nov 17, 2023
1 parent 4ab77bc commit fce3e37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ The parser returns a Node. The following public properties are defined
`html_block`, `thematic_break`.
- (**Mattermost**) This fork also adds `at_mention`,
`channel_link`, `emoji`, `hashtag`, `latex_inline`,
`mention_highlight`, `search_highlight`, `table`, `table_row`,
`mention_highlight`, `highlight_without_notification`, `search_highlight`, `table`, `table_row`,
`table_cell`, `edited_indicator`, `checkbox`.
- `firstChild` (read-only): a Node or null.
- `lastChild` (read-only): a Node or null.
Expand Down
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type NodeType =
'text' |'softbreak' | 'linebreak' | 'emph' | 'strong' | 'html_inline' | 'link' | 'image' | 'code' | 'document' | 'paragraph' |
'block_quote' | 'item' | 'list' | 'heading' | 'code_block' | 'html_block' | 'thematic_break' | 'custom_inline' | 'custom_block' |
'at_mention' | 'channel_link' | 'emoji' | 'hashtag' | 'latex_inline' | 'table' | 'table_row' | 'table_cell' | 'mention_highlight' |
'search_highlight' | 'checkbox' | 'edited_indicator';
'highlight_without_notification' | 'search_highlight' | 'checkbox' | 'edited_indicator';

export class Node {
constructor(nodeType: NodeType, sourcepos?: Position);
Expand Down
1 change: 1 addition & 0 deletions lib/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function isContainer(node) {
case "image":
case "latex_inline":
case "mention_highlight":
case "highlight_without_notification":
case "search_highlight":
case "custom_inline":
case "custom_block":
Expand Down

0 comments on commit fce3e37

Please sign in to comment.