UNPKG
@nuxtjs/mdc
Version:
latest (0.17.0)
0.17.0
0.16.1
0.16.0
0.15.0
0.14.0
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.1
0.12.0
0.11.1
0.11.0
0.10.0
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Nuxt MDC module
github.com/nuxt-modules/mdc
nuxt-modules/mdc
@nuxtjs/mdc
/
dist
/
runtime
/
parser
/
handlers
/
inlineCode.d.ts
7 lines
(6 loc)
•
251 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
State
}
from
'mdast-util-to-hast'
;
import
type
{
Element
,
Properties
}
from
'hast'
;
import
type
{
InlineCode
}
from
'mdast'
;
export
default
function
inlineCode
(
state
:
State
,
node
:
InlineCode
& { attributes?: Properties; }
):
Element
;