1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-04 17:58:10 +09:00

Improve MFM

This commit is contained in:
syuilo 2018-11-25 13:23:18 +09:00
parent fc8aeb5a66
commit 2c5162671c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -85,6 +85,7 @@ const mfm = P.createLanguage({
r.mention,
r.hashtag,
r.emoji,
r.math,
r.text
).atLeast(1).tryParse(x))),
//#endregion
@ -203,6 +204,7 @@ const mfm = P.createLanguage({
r.mention,
r.hashtag,
r.emoji,
r.math,
r.text
).atLeast(1).tryParse(x))),
//#endregion