Implement new MFM syntax
This commit is contained in:
parent
42fbc7ab66
commit
d456e5e45c
5 changed files with 49 additions and 1 deletions
|
|
@ -11,6 +11,12 @@ const handlers: { [key: string]: (window: any, token: any, mentionedRemoteUsers:
|
|||
document.body.appendChild(b);
|
||||
},
|
||||
|
||||
big({ 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