[MFM] spinの中でflipを使えるように

This commit is contained in:
syuilo 2019-01-27 19:12:08 +09:00
parent 37f0200bd3
commit e4ecdc8b81

View File

@ -149,6 +149,7 @@ const mfm = P.createLanguage({
P.regexp(/<spin>(.+?)<\/spin>/, 1)
.map(x => createTree('spin', P.alt(
r.emoji,
r.flip,
r.text
).atLeast(1).tryParse(x), {})),
//#endregion