diff options
author | ache <ache@ache.one> | 2017-11-29 19:28:54 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2017-11-29 19:28:54 +0100 |
commit | 687f3615dbc9072220397e0df8c993d5f7569151 (patch) | |
tree | 406d122191f2f1766300eba861373d193908284a | |
parent | Fix name (diff) |
content className
-rw-r--r-- | app.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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") ); |