forked from FoundKeyGang/FoundKey
Improve MFM
This commit is contained in:
parent
fc8aeb5a66
commit
2c5162671c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue