Skip to content

Commit

Permalink
add header prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Oct 1, 2014
1 parent 722d5af commit ee7a628
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
'sanitize': true,
'smartLists': true,
'smartypants': false,
'langPrefix': 'lang-'
'langPrefix': 'lang-',
'headerPrefix': 'md-header-'
};

meta.settings.get('markdown', function(err, options) {
Expand Down Expand Up @@ -110,7 +111,8 @@
{ field: 'sanitize', value: 'on' },
{ field: 'smartLists', value: 'on' },
{ field: 'smartypants', value: 'off' },
{ field: 'langPrefix', value: 'lang-' }
{ field: 'langPrefix', value: 'lang-' },
{ field: 'headerPrefix', value: 'md-header-'}
];

async.each(defaults, function(optObj, next) {
Expand All @@ -122,4 +124,4 @@
};

module.exports = Markdown;
})();
})();

0 comments on commit ee7a628

Please sign in to comment.