[MFM] spinの中でflipを使えるように
This commit is contained in:
parent
d2cc5c3b63
commit
5fac7c1718
|
@ -149,6 +149,7 @@ const mfm = P.createLanguage({
|
||||||
P.regexp(/<spin>(.+?)<\/spin>/, 1)
|
P.regexp(/<spin>(.+?)<\/spin>/, 1)
|
||||||
.map(x => createTree('spin', P.alt(
|
.map(x => createTree('spin', P.alt(
|
||||||
r.emoji,
|
r.emoji,
|
||||||
|
r.flip,
|
||||||
r.text
|
r.text
|
||||||
).atLeast(1).tryParse(x), {})),
|
).atLeast(1).tryParse(x), {})),
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
Loading…
Reference in New Issue