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 7 additions and 7 deletions

4
dist/showdown.js vendored
View File

@ -1,4 +1,4 @@
;/*! showdown 30-12-2016 */
;/*! showdown 06-01-2017 */
(function(){
/**
* Created by Tivie on 13-07-2015.
@ -26,7 +26,7 @@ function getDefaultOpts(simple) {
ghCompatibleHeaderId: {
defaultValue: false,
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: {
defaultValue: false,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@ function getDefaultOpts(simple) {
ghCompatibleHeaderId: {
defaultValue: false,
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: {
defaultValue: false,