This commit is contained in:
2025-05-12 05:38:44 +09:00
parent dced21c3f8
commit 6d78bfa46e
8120 changed files with 1161564 additions and 0 deletions

3
book/node_modules/front-matter/examples/bom.md generated vendored Normal file
View File

@@ -0,0 +1,3 @@
---
title: Relax guy, I'm not hiding any BOMs
---

View 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

View 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

View File

@@ -0,0 +1,6 @@
---
title: Example with dots document ending
description: Just an example of using `...`
...
It shouldn't break with ...

View File

@@ -0,0 +1,8 @@
---
title: Three dashes marks the spot
tags:
- yaml
- front-matter
- dashes
expaned-description: with some --- crazy stuff in it
---

View File

@@ -0,0 +1,11 @@
# Hello World
This is a markdown document.
---
Some text here that is definitely not front matter.
---
More text here.

View 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 ^^

View 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