Merge branch 'develop' into math-block

This commit is contained in:
Aya Morisawa
2019-01-27 16:41:30 +09:00
committed by GitHub
48 changed files with 791 additions and 852 deletions

View File

@@ -55,6 +55,18 @@ export default (tokens: MfmForest, mentionedRemoteUsers: INote['mentionedRemoteU
return el;
},
spin(token) {
const el = doc.createElement('i');
appendChildren(token.children, el);
return el;
},
flip(token) {
const el = doc.createElement('span');
appendChildren(token.children, el);
return el;
},
blockCode(token) {
const pre = doc.createElement('pre');
const inner = doc.createElement('code');