mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-12 21:58:12 +09:00
Improve MFM
This commit is contained in:
parent
fc8aeb5a66
commit
2c5162671c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user