snoankiformat
a simple transformater. Transformat \n\n\n and \n\n splited cards deck into html-tsv used to import to anki.
usage
windows: type test-input.txt | npx snoankiformat | output.txt
windows-with-clipboard: paste | npx snoankiformat | clip
linux: cat test-input.txt | npx snoankiformat | output.txt
demo
Input
Queston1: how to type 苛夺 in wubi86 ?
Answer1 : asdf
Queston2: how to type 欠遥 in wubi86 ?
Answer2 : qwer
Queston3: how to type 旧另 in wubi86 ?
Answer3 : hjkl
output:
Queston1: how to type 苛夺 in wubi86 ? Answer1 : asdf
Queston2: how to type 欠遥 in wubi86 ? Answer2 : qwer
Queston3: how to type 旧另 in wubi86 ? Answer3 : hjkl