fix(options): fix ghCompatibleHeaderId that was set as string instead of boolean

This commit is contained in:
Estevao Soares dos Santos 2017-01-06 02:42:47 +00:00
parent 4aa2118a64
commit de7c37eaea
5 changed files with 1 additions and 1 deletions

BIN
dist/showdown.js vendored

Binary file not shown.

BIN
dist/showdown.js.map vendored

Binary file not shown.

BIN
dist/showdown.min.js vendored

Binary file not shown.

Binary file not shown.

View File

@ -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,