@@ -7,72 +7,72 @@ function getDefaultOpts(simple) {
77
88 var defaultOptions = {
99 omitExtraWLInCodeBlocks : {
10- default : false ,
10+ defaultValue : false ,
1111 describe : 'Omit the default extra whiteline added to code blocks' ,
1212 type : 'boolean'
1313 } ,
1414 noHeaderId : {
15- default : false ,
15+ defaultValue : false ,
1616 describe : 'Turn on/off generated header id' ,
1717 type : 'boolean'
1818 } ,
1919 prefixHeaderId : {
20- default : false ,
20+ defaultValue : false ,
2121 describe : 'Specify a prefix to generated header ids' ,
2222 type : 'string'
2323 } ,
2424 headerLevelStart : {
25- default : false ,
25+ defaultValue : false ,
2626 describe : 'The header blocks level start' ,
2727 type : 'integer'
2828 } ,
2929 parseImgDimensions : {
30- default : false ,
30+ defaultValue : false ,
3131 describe : 'Turn on/off image dimension parsing' ,
3232 type : 'boolean'
3333 } ,
3434 simplifiedAutoLink : {
35- default : false ,
35+ defaultValue : false ,
3636 describe : 'Turn on/off GFM autolink style' ,
3737 type : 'boolean'
3838 } ,
3939 literalMidWordUnderscores : {
40- default : false ,
40+ defaultValue : false ,
4141 describe : 'Parse midword underscores as literal underscores' ,
4242 type : 'boolean'
4343 } ,
4444 strikethrough : {
45- default : false ,
45+ defaultValue : false ,
4646 describe : 'Turn on/off strikethrough support' ,
4747 type : 'boolean'
4848 } ,
4949 tables : {
50- default : false ,
50+ defaultValue : false ,
5151 describe : 'Turn on/off tables support' ,
5252 type : 'boolean'
5353 } ,
5454 tablesHeaderId : {
55- default : false ,
55+ defaultValue : false ,
5656 describe : 'Add an id to table headers' ,
5757 type : 'boolean'
5858 } ,
5959 ghCodeBlocks : {
60- default : true ,
60+ defaultValue : true ,
6161 describe : 'Turn on/off GFM fenced code blocks support' ,
6262 type : 'boolean'
6363 } ,
6464 tasklists : {
65- default : false ,
65+ defaultValue : false ,
6666 describe : 'Turn on/off GFM tasklist support' ,
6767 type : 'boolean'
6868 } ,
6969 smoothLivePreview : {
70- default : false ,
70+ defaultValue : false ,
7171 describe : 'Prevents weird effects in live previews due to incomplete input' ,
7272 type : 'boolean'
7373 } ,
7474 smartIndentationFix : {
75- default : false ,
75+ defaultValue : false ,
7676 description : 'Tries to smartly fix identation in es6 strings' ,
7777 type : 'boolean'
7878 }
@@ -83,7 +83,7 @@ function getDefaultOpts(simple) {
8383 var ret = { } ;
8484 for ( var opt in defaultOptions ) {
8585 if ( defaultOptions . hasOwnProperty ( opt ) ) {
86- ret [ opt ] = defaultOptions [ opt ] . default ;
86+ ret [ opt ] = defaultOptions [ opt ] . defaultValue ;
8787 }
8888 }
8989 return ret ;
0 commit comments