Skip to content

Commit

Permalink
fix(options): fix ghCompatibleHeaderId that was set as string instead…
Browse files Browse the repository at this point in the history
… of boolean
  • Loading branch information
tivie committed Jan 6, 2017
1 parent 4aa2118 commit de7c37e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/showdown.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/showdown.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/showdown.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/showdown.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit de7c37e

Please sign in to comment.