请教:lua实现多行文本输出问题
#1613
-
我用的是五笔。
但是,我不想把词条写插件里,而是写在dict.yaml里。于是我就用filter,这样写:
结果不行,当我输出带有 |
Beta Was this translation helpful? Give feedback.
Answered by
goodaniu
Jun 17, 2025
Replies: 1 comment
-
问题已解决,只要把yeild语句中的
字典中写入 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
goodaniu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题已解决,只要把yeild语句中的
seg
改成cand
即可。字典中写入
A.\nB.\nC.\nD
或|||\n|:-:|:-:|\n|||
等类似词条,其中的\n
会转义为换行符。