mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
fix(options): fix ghCompatibleHeaderId that was set as string instead of boolean
This commit is contained in:
parent
4aa2118a64
commit
de7c37eaea
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -24,7 +24,7 @@ function getDefaultOpts(simple) {
|
||||||
ghCompatibleHeaderId: {
|
ghCompatibleHeaderId: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',
|
describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',
|
||||||
type: 'string'
|
type: 'boolean'
|
||||||
},
|
},
|
||||||
headerLevelStart: {
|
headerLevelStart: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user