diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-03 23:27:37 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-03 23:27:37 +0900 |
| commit | d456e5e45c8a2367c9362b1e1d1e87d6959b6977 (patch) | |
| tree | afd13b2fb3c9680c592c05dcf10239f21b24a36f /src/mfm/html.ts | |
| parent | Fix #2047 (diff) | |
| download | misskey-d456e5e45c8a2367c9362b1e1d1e87d6959b6977.tar.gz misskey-d456e5e45c8a2367c9362b1e1d1e87d6959b6977.tar.bz2 misskey-d456e5e45c8a2367c9362b1e1d1e87d6959b6977.zip | |
Implement new MFM syntax
Diffstat (limited to 'src/mfm/html.ts')
| -rw-r--r-- | src/mfm/html.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mfm/html.ts b/src/mfm/html.ts index 71b4739476..eeaa4d8136 100644 --- a/src/mfm/html.ts +++ b/src/mfm/html.ts @@ -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'); |