Better MFM rendering
This commit is contained in:
parent
8495e37566
commit
c9fcfc6862
@ -130,10 +130,14 @@ export default defineComponent({
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (style == null) {
|
||||
return h('span', {}, ['[', token.node.props.name, ...genEl(token.children), ']']);
|
||||
} else {
|
||||
return h('span', {
|
||||
style: 'display: inline-block;' + style,
|
||||
}, genEl(token.children));
|
||||
}
|
||||
}
|
||||
|
||||
case 'small': {
|
||||
return [h('small', {
|
||||
|
Loading…
Reference in New Issue
Block a user