@liquid-js/underflow
Preparing search index...
parser
MarkdownDocument
Class MarkdownDocument
Index
Constructors
constructor
Properties
line
Texts
Methods
edit
Markdown
get
Line
Texts
get
Root
Node
find
Node
At
Position
find
First
Node
At
Line
on
off
find
Node
By
Id
remove
All
Node
Constructors
constructor
new
MarkdownDocument
(
contents
?:
string
,
options
?:
Partial
<
ParserOptions
>
,
)
:
MarkdownDocument
Parameters
Optional
contents
:
string
Optional
options
:
Partial
<
ParserOptions
>
Returns
MarkdownDocument
Properties
line
Texts
lineTexts
:
string
[]
Methods
edit
Markdown
editMarkdown
(
startPos
:
MdPos
,
endPos
:
MdPos
,
newText
:
string
)
:
EditResult
[]
Parameters
startPos
:
MdPos
endPos
:
MdPos
newText
:
string
Returns
EditResult
[]
get
Line
Texts
getLineTexts
()
:
string
[]
Returns
string
[]
get
Root
Node
getRootNode
()
:
MdNode
Returns
MdNode
find
Node
At
Position
findNodeAtPosition
(
pos
:
MdPos
)
:
MdNode
|
null
Parameters
pos
:
MdPos
Returns
MdNode
|
null
find
First
Node
At
Line
findFirstNodeAtLine
(
line
:
number
)
:
MdNode
|
null
Parameters
line
:
number
Returns
MdNode
|
null
on
on
(
eventName
:
"change"
,
callback
:
()
=>
void
)
:
void
Parameters
eventName
:
"change"
callback
:
()
=>
void
Returns
void
off
off
(
eventName
:
"change"
,
callback
:
()
=>
void
)
:
void
Parameters
eventName
:
"change"
callback
:
()
=>
void
Returns
void
find
Node
By
Id
findNodeById
(
id
:
number
)
:
MdNode
|
null
Parameters
id
:
number
Returns
MdNode
|
null
remove
All
Node
removeAllNode
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
line
Texts
Methods
edit
Markdown
get
Line
Texts
get
Root
Node
find
Node
At
Position
find
First
Node
At
Line
on
off
find
Node
By
Id
remove
All
Node
@liquid-js/underflow
Loading...