@stoplight/markdown
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Frontmatter
constructor
document
is
Empty
get
get
All
set
stringify
unset
get
Frontmatter
Block
Type parameters
T
:
object
Hierarchy
Frontmatter
Implements
IFrontmatter
<
T
>
Index
Constructors
constructor
Properties
document
Accessors
is
Empty
Methods
get
get
All
set
stringify
unset
get
Frontmatter
Block
Constructors
constructor
new
Frontmatter
(
data
:
Node
|
string
, mutate
?:
boolean
)
:
Frontmatter
Parameters
data:
Node
|
string
Default value
mutate:
boolean
= false
Returns
Frontmatter
Properties
document
document
:
Node
Accessors
is
Empty
is
Empty
:
Methods
get
get<V>
(
prop
:
PropertyPath
)
:
V
|
void
Type parameters
V
Parameters
prop:
PropertyPath
Returns
V
|
void
get
All
get
All
(
)
:
Partial
<
T
>
|
void
Returns
Partial
<
T
>
|
void
set
set
(
prop
:
PropertyPath
, value
:
unknown
)
:
void
Parameters
prop:
PropertyPath
value:
unknown
Returns
void
stringify
stringify
(
)
:
string
Returns
string
unset
unset
(
prop
:
PropertyPath
)
:
void
Parameters
prop:
PropertyPath
Returns
void
Static
get
Frontmatter
Block
get
Frontmatter
Block
(
value
:
string
)
:
Optional
<
string
>
Parameters
value:
string
Returns
Optional
<
string
>