#+PROPERTY: ANKI_DECK Default
*Tip: Click the Raw button on the right to view the original Org file*
* Deck in file
:PROPERTIES:
:ANKI_NOTE_TYPE: Cloze
:END:
** Text
Cards of this note will be created in {{c1::Default::which deck?}}
* Deck in entry
:PROPERTIES:
:ANKI_DECK: Languages
:ANKI_NOTE_TYPE: Cloze
:END:
** Text
Cards of this note will be created in {{c1::Languages::which deck?}}
* Raw fields
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic
:END:
** Front
How to send the content of a field or fields to Anki as is?
** Back
:PROPERTIES:
:ANKI_FORMAT: nil
:END:
With property :ANKI_FORMAT: nil
, content of the
field will be sent to Anki unprocessed. You can use
whatever Anki supports, like HTML tags.
This property is retrieved with inheritance, meaning that it can be
set in any ancestor entries or at the top of the file with
#+PROPERTY: ANKI_FORMAT nil
, it's also possible to
override an outer level nil format with :ANKI_FORMAT: t
.
* Is there a shorter way to write notes?
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic
:END:
** Back
Yes, like this one, Front is missing, ~anki-editor~ will use note
heading as Front. This is neat as sometimes it's verbose to repeat
the same content in note heading and first field.
This works for all note types, just make one field absent and
~anki-editor~ will use note heading as that missing field.
* Languages
:PROPERTIES:
:ANKI_DECK: Languages
:END:
** Vocabulary
*** Raining :vocab:idioms:english:
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic (and reversed card)
:END:
**** Front
(it's) raining cats and dogs
**** Back
it's raining very hard
** Grammar :grammar:english:
*** 名词从句
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic
:END:
**** Front
名词从句有哪些形式?
**** Back
1) That + 一个完整的句子, that无实际意义
2) 由疑问句改装而成
** Dialects :dialect:
*** Cantonese
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic (and reversed card)
:ANKI_TAGS: cantonese
:END:
**** Front
食咗饭未吖?
**** Back
吃过饭了没?
* Computing
:PROPERTIES:
:ANKI_DECK: Computing
:END:
** Emacs Lisp :lisp:emacs:programming:
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic
:END:
*** Front
How to trap errors in emacs lisp?
*** Back
#+BEGIN_EXPORT html