Skip to content

Latest commit

 

History

History
100 lines (56 loc) · 3.02 KB

File metadata and controls

100 lines (56 loc) · 3.02 KB

Missing card

A question with a [missing] word

★ Required    ☆ ✎ Optional    ⤷ Field Type

A missing->answer card; we're hiding one or more words to guess the answer:

  • A missing function or expression you have to guess
  • A missing input or output to remember
You'll probably want: It's helpful to add:
A descriptive title (or intro) A subtitle or tags
A clear question and answer Supporting notes (bullet points)
Your key learning point Links to articles or documentation

You can toggle between Anki's <> code editor and A𝐴 visual editor at any time!

★ Title

string (automatically wrapped with a H1 tag)

  • The main question, statement or fact.

☆ Subtitle

string (automatically wrapped with a H2 tag)

  • A short helpful tip or guide
  • Naming a group of related cards
  • The type of syntax we're learning

☆ Syntax (inline code)

code string (automatically wrapped with <p><code> tag)

  • A short line of code (not a code block)
  • The actual function or symbol, i.e. len()

★ Key point (code block)

code block (requires markdown->html conversion)

Create your code, add one or more {{c1::cloze deletion}} tags (here's a tutorial) to hide a selected word or phrase:

  • The {{c1::answer}} or key learning point
  • You can add a helpful hint: {{c1::the missing answer::HINT TEXT}}

☆ Key point (caption or hint)

string (automatically wrapped with a figcaption tag)

  • If the heading becomes too long, use this!
  • A caption or hint extending the main question or idea
  • An alternative to comments in the code block

★ Key point notes

rich html

  • A short explanation of what we're trying to learn

✎ Other notes

rich html

A short reference if needed. Remember to KISS!

  • Links to documentation
  • Supplementary notes
  • A common link between cards

✎ Markdown

Deprecated in favour of npm run data-code-reverse with Pandoc (next release will remove completely)

raw text

For the risk-averse, you can keep raw text in the ✎ Markdown field provided — here you can store raw markdown, or a link to the original code (Github gist for example).

  • Store raw .md for future editing, if necessary