fix
This commit is contained in:
3
book/node_modules/front-matter/examples/bom.md
generated
vendored
Normal file
3
book/node_modules/front-matter/examples/bom.md
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Relax guy, I'm not hiding any BOMs
|
||||
---
|
||||
22
book/node_modules/front-matter/examples/complex-yaml.md
generated
vendored
Normal file
22
book/node_modules/front-matter/examples/complex-yaml.md
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
- item
|
||||
- item
|
||||
- item
|
||||
14
book/node_modules/front-matter/examples/dashes-seperator.md
generated
vendored
Normal file
14
book/node_modules/front-matter/examples/dashes-seperator.md
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Three dashes marks the spot
|
||||
tags:
|
||||
- yaml
|
||||
- front-matter
|
||||
- dashes
|
||||
expaned-description: with some --- crazy stuff in it
|
||||
---
|
||||
|
||||
don't break
|
||||
|
||||
---
|
||||
|
||||
Also this shouldn't be a problem
|
||||
6
book/node_modules/front-matter/examples/dots-ending.md
generated
vendored
Normal file
6
book/node_modules/front-matter/examples/dots-ending.md
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Example with dots document ending
|
||||
description: Just an example of using `...`
|
||||
...
|
||||
|
||||
It shouldn't break with ...
|
||||
8
book/node_modules/front-matter/examples/missing-body.md
generated
vendored
Normal file
8
book/node_modules/front-matter/examples/missing-body.md
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Three dashes marks the spot
|
||||
tags:
|
||||
- yaml
|
||||
- front-matter
|
||||
- dashes
|
||||
expaned-description: with some --- crazy stuff in it
|
||||
---
|
||||
11
book/node_modules/front-matter/examples/no-front-matter.md
generated
vendored
Normal file
11
book/node_modules/front-matter/examples/no-front-matter.md
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Hello World
|
||||
|
||||
This is a markdown document.
|
||||
|
||||
---
|
||||
|
||||
Some text here that is definitely not front matter.
|
||||
|
||||
---
|
||||
|
||||
More text here.
|
||||
21
book/node_modules/front-matter/examples/wrapped-text.md
generated
vendored
Normal file
21
book/node_modules/front-matter/examples/wrapped-text.md
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: Complex yaml example
|
||||
description: You can use the front-matter module to convert this
|
||||
tags: [example, yaml, node]
|
||||
folded-text: |
|
||||
There once was a man from Darjeeling
|
||||
Who got on a bus bound for Ealing
|
||||
It said on the door
|
||||
"Please don't spit on the floor"
|
||||
So he carefully spat on the ceiling
|
||||
wrapped-text: >
|
||||
Wrapped text
|
||||
will be folded
|
||||
into a single
|
||||
paragraph
|
||||
|
||||
Blank lines denote
|
||||
paragraph breaks
|
||||
---
|
||||
|
||||
Some crazy stuff going on up there ^^
|
||||
6
book/node_modules/front-matter/examples/yaml-seperator.md
generated
vendored
Normal file
6
book/node_modules/front-matter/examples/yaml-seperator.md
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
= yaml =
|
||||
title: I couldn't think of a better name
|
||||
description: Just an example of using `= yaml =`
|
||||
= yaml =
|
||||
|
||||
Plays nice with markdown syntax highlighting
|
||||
Reference in New Issue
Block a user