Add small syntax (#3506)
This commit is contained in:
parent
dc8f4c8d6a
commit
66836836ab
4 changed files with 38 additions and 0 deletions
|
|
@ -31,6 +31,12 @@ export default (tokens: Node[], mentionedRemoteUsers: INote['mentionedRemoteUser
|
|||
return el;
|
||||
},
|
||||
|
||||
small(token) {
|
||||
const el = doc.createElement('small');
|
||||
dive(token.children).forEach(child => el.appendChild(child));
|
||||
return el;
|
||||
},
|
||||
|
||||
strike(token) {
|
||||
const el = doc.createElement('del');
|
||||
dive(token.children).forEach(child => el.appendChild(child));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue