Skip to content

Commit cd0e5a5

Browse files
committed
Fix block body
1 parent 15a0d97 commit cd0e5a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = {
4545
},
4646
blocks: {
4747
code: function(block) {
48-
return highlight(block.kwargs.language, block.content);
48+
return highlight(block.kwargs.language, block.body);
4949
}
5050
}
5151
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"less": "2.5.1"
2323
},
2424
"scripts": {
25-
"prepublish": "lessc ./less/website.less > ./css/website.css; lessc ./less/ebook.less > ./css/ebook.css"
25+
"prepublish": "mkdir -p css && lessc ./less/website.less > ./css/website.css; lessc ./less/ebook.less > ./css/ebook.css"
2626
}
2727
}

0 commit comments

Comments
 (0)