Render inline code correctly in MFM
This commit is contained in:
parent
9e13e5d164
commit
eb69fc33f6
1 changed files with 3 additions and 4 deletions
|
@ -210,11 +210,10 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
case 'inlineCode': {
|
||||
return [h('pre', {
|
||||
return [h('code', {
|
||||
key: Math.random(),
|
||||
code: token.props.code,
|
||||
inline: true
|
||||
})]
|
||||
display: 'inline'
|
||||
}, token.props.code)]
|
||||
}
|
||||
|
||||
case 'quote': {
|
||||
|
|
Loading…
Reference in a new issue