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