css
This commit is contained in:
parent
52bcd5812a
commit
7abbf15214
|
@ -20,7 +20,7 @@ hexo.extend.tag.register('folding', function(args, content) {
|
|||
}
|
||||
el += '>';
|
||||
// summary
|
||||
el += '<summary><span>' + args.title + '</span></summary>';
|
||||
el += '<summary><span>' + (args.title || '') + '</span></summary>';
|
||||
// content
|
||||
el += '<div class="body">';
|
||||
el += hexo.render.renderSync({text: content, engine: 'markdown'}).split('\n').join('');
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
margin: 1rem 0
|
||||
|
||||
|
||||
.md .tag-plugin.note[color]
|
||||
code
|
||||
background: none
|
||||
.md .tag-plugin.note:not([color])
|
||||
.highlight
|
||||
background: var(--block-hover)
|
||||
|
|
Loading…
Reference in New Issue