Add tests for custom Remark options in .jsbeautifyrc
This commit is contained in:
parent
1163b93123
commit
74efe30ae0
|
@ -56,6 +56,11 @@
|
|||
indent_size: 4
|
||||
markdown:
|
||||
listItemIndent: 1
|
||||
strong: '_'
|
||||
emphasis: '_'
|
||||
fences: true
|
||||
fence: '`'
|
||||
setext: true
|
||||
jade:
|
||||
indent_size: 4
|
||||
indent_char: " "
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
A code block with correct fences:
|
||||
|
||||
```js
|
||||
console.log('hello world!')
|
||||
```
|
||||
|
||||
A code block with mistyped fences:
|
||||
|
||||
```js
|
||||
console.log('hello world!')
|
||||
```
|
||||
|
||||
Code block with forgotten fences:
|
||||
|
||||
```
|
||||
console.log('hello world!')
|
||||
```
|
|
@ -0,0 +1,9 @@
|
|||
Header 1
|
||||
========
|
||||
|
||||
Header 2
|
||||
--------
|
||||
|
||||
### Header 3
|
||||
|
||||
Hello!
|
|
@ -0,0 +1,3 @@
|
|||
An example of __bold__ and _italics_.
|
||||
|
||||
Another example of __bold__ and _italics_.
|
|
@ -0,0 +1,15 @@
|
|||
A code block with correct fences:
|
||||
|
||||
```js
|
||||
console.log('hello world!')
|
||||
```
|
||||
|
||||
A code block with mistyped fences:
|
||||
|
||||
~~~js
|
||||
console.log('hello world!')
|
||||
~~~
|
||||
|
||||
Code block with forgotten fences:
|
||||
|
||||
console.log('hello world!')
|
|
@ -0,0 +1,7 @@
|
|||
# Header 1
|
||||
|
||||
## Header 2
|
||||
|
||||
### Header 3
|
||||
|
||||
Hello!
|
|
@ -0,0 +1,3 @@
|
|||
An example of **bold** and *italics*.
|
||||
|
||||
Another example of __bold__ and _italics_.
|
Loading…
Reference in New Issue