Line break import from .txt

Hi,

i’m trying to script “.txt deck” creation (huuuuge deck, dont want to do it manualy), but i have an issue with “
” which it s not interpreted as linebreak from my deck.txt. I try import with and without “HTML import option”.

what i m doing wrong, how can i insert line break in anser ?

thank you.

You have to escape line breaks by placing the field contents in quotation marks.

Example from the manual:

hello; "this is
a two line answer"
two; this is a one line one

https://docs.ankiweb.net/importing.html

4 Likes