Skip to content

NoteStructure

Clouder edited this page Jun 7, 2021 · 2 revisions

Note Structure

The note to import must follow some specific structure so that it can be recognized by the script.

A block is recognized as a note. To clarify what a block is, see the example:

It is notable that Html syntax is supported in notes.

This is a block.

This is a multiple-line  
block.

This is also a **block**.

Blocks are separated by two line breaks.

Note Type

Q&A

The most basic type in Anki.
Any block more than two lines, if not recognized as the other types, would be recognized as Q&A.

Question.
Answer.

Cloze

Another basic type in Anki.
Any block containing **sth.** in its first line would be recognized as a Cloze.

This is a **Cloze**.

This is another **Cloze**  
with more than one **line**.

This is not a Cloze.
But rather a **Q&A**.

Choices

Choose A or choose B...that's a question.

screenshot-2

screenshot-3

This is an extended note type that is not included in plain Anki.
I imported a modified version of Monokaicloze to implement this feature.

Any block starting with A in its second line would be recognized as a Choices.

Question:
A Option1
B Option2
C Option3
A
Remark writing, something here, can be omitted.

Question:
A Option1
B Option2
C Option3
AB

I just want a simple Q&A.
 A simple Q&A. Use space to avoid being recognized as Choices.

ListCloze

A list would be recognized as a cloze.

- List Cloze
  - Cloze **as** a list
  - no need to contain a cloze in the first line
      - pretty **handy**
      - but remember this may make a card huge!

Example List QA
- A list, or an outlined format, are now supported.
  - SHJKD
  - lksfdhos
  - sdhfksaj
      - dskf
      - sdkf    
      - dfjs
      - dfjs
      - oipw3
  - dppp

TableCloze

A table would be recognized as a cloze.

Table is now supported too.
| Syntax      | Description | Test Text     |
| :---        |    :----:   |          ---: |
| Header      | Title       | Here's this   |
| Paragraph   | Text        | And more      |
A funny feature.

| Table      | Cloze | is also supported |
| :---        |    :----:   |          ---: |
| H**e**ader      | Title       | Here's this   |
| Parag**ra**ph   | Text        | And more      |

For more examples, see tests.

Clone this wiki locally