Skip to content

Commit 5a3d30d

Browse files
committed
do not enable html by default
1 parent 118c5c5 commit 5a3d30d

File tree

5 files changed

+1082
-1038
lines changed

5 files changed

+1082
-1038
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "6"
53
- "8"
4+
- "10"
65
sudo: false
76
after_script:
87
- npm run coveralls

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ A function that returns a [through2 stream](https://npmjs.org/package/through2)
130130

131131
#### options.remarkable
132132
Type: `object`
133-
Default value: `{ html: true, breaks: true }`
133+
Default value: `{ breaks: true }`
134134

135135
A config object that is passed to [remarkable](https://www.npmjs.com/package/remarkable#options), the underlying markdown parser.
136136

@@ -279,4 +279,3 @@ Feel free to dive in! [Open an issue](https://github.com/tableflip/mem-storage-a
279279
## License
280280

281281
[MIT](LICENSE) © Alan Shaw
282-

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function markdownpdf (opts) {
2525
opts.loadTimeout = opts.loadTimeout == null ? 10000 : opts.loadTimeout
2626
opts.preProcessMd = opts.preProcessMd || function () { return through() }
2727
opts.preProcessHtml = opts.preProcessHtml || function () { return through() }
28-
opts.remarkable = extend({html: true, breaks: true}, opts.remarkable)
28+
opts.remarkable = extend({breaks: true}, opts.remarkable)
2929
opts.remarkable.preset = opts.remarkable.preset || 'default'
3030
opts.remarkable.plugins = opts.remarkable.plugins || []
3131
opts.remarkable.syntax = opts.remarkable.syntax || []

0 commit comments

Comments
 (0)