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
4
dist/showdown.js
vendored
4
dist/showdown.js
vendored
@ -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,
|
||||
|
2
dist/showdown.js.map
vendored
2
dist/showdown.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/showdown.min.js
vendored
4
dist/showdown.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/showdown.min.js.map
vendored
2
dist/showdown.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user