UNPKG
front-matter
Version:
latest (4.0.2)
4.0.2
4.0.1
4.0.0
3.2.1
3.2.0
3.1.0
3.0.2
3.0.1
3.0.0
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
Extract YAML front matter from a string
github.com/jxson/front-matter
jxson/front-matter
front-matter
/
examples
/
complex-yaml.md
24 lines
(17 loc)
•
236 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title:
This
is
a
title!
name:
Derek
Worthen
age:
young
contact:
email:
email@domain.com
address:
some
location
pets:
-
cat
-
dog
-
bat
match:
!!js/regexp
/pattern/gim
run:
!!js/function
function()
{ }
---
-
item
-
item
-
item