Add new MFM syntax
This commit is contained in:
parent
f762cf2770
commit
cd28504dd8
5 changed files with 50 additions and 2 deletions
|
|
@ -18,6 +18,12 @@ const handlers: { [key: string]: (window: any, token: any, mentionedRemoteUsers:
|
|||
document.body.appendChild(b);
|
||||
},
|
||||
|
||||
motion({ document }, { big }) {
|
||||
const b = document.createElement('strong');
|
||||
b.textContent = big;
|
||||
document.body.appendChild(b);
|
||||
},
|
||||
|
||||
code({ document }, { code }) {
|
||||
const pre = document.createElement('pre');
|
||||
const inner = document.createElement('code');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue