Skip to content
Clouder0 edited this page Jul 3, 2021 · 2 revisions

Note

Note is a block of data which is used to generate cards.

  • Note
    • model, a property of note type.
    • fields(Dictionary), the data of the model fields.
    • deck(String), the name of the deck which the note belongs to.
    • tags(List)
    • outputfields(String), this attribute will be discussed later.

When being created, the note will transform its fields to outputfields.
In outputfields, the texts are formatted to html by formatHelper.

When being exported, the export helpers would read outputfields for data.

Clone this wiki locally