Skip to content

Commit

Permalink
Merge branch 'fix344'
Browse files Browse the repository at this point in the history
  • Loading branch information
okuryu committed Apr 29, 2015
2 parents e7f2698 + ec86ec3 commit 182725c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ based templates to generate static HTML content
*/

YUI.add('doc-builder', function (Y) {
var defaultMarkdownOption = {
html: true,
linkify: true
};

var fixType = Y.Lang.fixType,
print = function (items) {
var out = '<ul>';
Expand Down Expand Up @@ -52,7 +57,7 @@ YUI.add('doc-builder', function (Y) {
if (options.themedir) {
themeDir = options.themedir;
}
this.md = new MarkdownIt(options.markdown);
this.md = new MarkdownIt(Y.merge(defaultMarkdownOption, options.markdown));
this.data = data;
Y.log('Building..', 'info', 'builder');
this.files = 0;
Expand Down

0 comments on commit 182725c

Please sign in to comment.