Formatting Q&A

From SuperMemopedia
Jump to navigation Jump to search

To create an HTML-formatted Q&A file importable to SuperMemo do the following:


Create a standard Q&A file. For example:

Q: hist: When was the Internet born?
A: 1969

Q: hist: When did we land on the moon?
A: 1969 (July 20)

Q: hist: Hiroshima was bombed on Aug 6, [...]
A: 1945


Format the file using HTML tags (do not rename the extension to HTM/HTML). For example:


Q: hist: When was <i>the Internet</i> born?
A: 1969

Q: hist: When did we <b>land on the moon</b>?
A: 1969 (July 20)

Q: hist: <font color="#FF0000" face="Arial">Hiroshima</font> was bombed on Aug 6, [...]
A: 1945</p>


In SuperMemo choose: File : Tools : Import : Q&A text to import the file.


The file should import as:

hist: When was the Internet born?
1969

hist: When did we land on the moon?
1969 (July 20)

hist: Hiroshima was bombed on Aug 6, [...]
1945


File examples:

  • Fragment of History from SuperMemo Library formatted with HTML tags: Text
  • Fragment of History from SuperMemo Library formatted with HTML tags: HTML