See #292. Add more Markdown with YAML Front Matter tests
This commit is contained in:
parent
95530edf2d
commit
4eed4cfc21
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
title: "This is a title!"
|
||||
name: Derek Worthen
|
||||
age: young
|
||||
contact: null
|
||||
email: "email@domain.com"
|
||||
address: some location
|
||||
pets:
|
||||
- cat
|
||||
- dog
|
||||
- bat
|
||||
match: !<tag:yaml.org,2002:js/regexp> /pattern/gmi
|
||||
run: !<tag:yaml.org,2002:js/function> "function () {\n \n}"
|
||||
---
|
||||
|
||||
- item
|
||||
- item
|
||||
- item
|
||||
|
||||
1. one
|
||||
2. two
|
||||
3. three
|
||||
|
|
@ -1,23 +1,7 @@
|
|||
---
|
||||
title: "This is a title!"
|
||||
name: Derek Worthen
|
||||
age: young
|
||||
contact: null
|
||||
email: "email@domain.com"
|
||||
address: some location
|
||||
pets:
|
||||
- cat
|
||||
- dog
|
||||
- bat
|
||||
match: !<tag:yaml.org,2002:js/regexp> /pattern/gmi
|
||||
run: !<tag:yaml.org,2002:js/function> "function () {\n \n}"
|
||||
layout: default
|
||||
title: this is my title
|
||||
description: this is my description
|
||||
---
|
||||
|
||||
- item
|
||||
- item
|
||||
- item
|
||||
|
||||
1. one
|
||||
2. two
|
||||
3. three
|
||||
|
||||
test ing
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: default
|
||||
title: this is my title
|
||||
description: this is my description
|
||||
---
|
||||
|
||||
test
|
||||
ing
|
|
@ -4,7 +4,7 @@ Beautifier = require('./beautifier')
|
|||
module.exports = class TidyMarkdown extends Beautifier
|
||||
name: "Tidy Markdown"
|
||||
options: {
|
||||
Markdown: true
|
||||
Markdown: false
|
||||
}
|
||||
|
||||
beautify: (text, language, options) ->
|
||||
|
|
Loading…
Reference in New Issue