aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app.js b/app.js
index 37dc8ee..ffe71b5 100644
--- a/app.js
+++ b/app.js
@@ -63,6 +63,12 @@ function visitBlockquote(ast, vFile) {
firstNode.children[0].value.startsWith('!attention') ||
firstNode.children[0].value.startsWith('!question') ) {
node.type = 'div';
+ node.data = {
+ hName: 'div',
+ hProperties: {
+ className: 'special-box-content'
+ }
+ };
var type = ""
if( firstNode.children[0].value.indexOf("\n") > 0) {
type = firstNode.children[0].value.substr(1, firstNode.children[0].value.indexOf("\n") );