- Home
- THEME
- Simple Anki theme
- Puzzle Anki theme
- Cloze Anki theme
- Selectable
- THEME COLOURS
- THEME
Key: ★ Required / ☆ Optional (recommended)
These fields are shared with the Simple theme). The purpose of these fields is to ask:
- What does the following code do?
- How can we use the syntax examples and what would be the result?
- The main question, statement or fact.
- The type of
Syntax
we're learning.
- The actual function or symbol, i.e.
len()
. - This will be wrapped in
<code>
.
- A sample of the code we're learning:
- Enter a
<pre>
block- or if you're feeling lazy, upload a snapshot
- Syntax highlighting using the included themes.
- Enter a
- What's the main takeaway from this flashcard?
- Snippet of code, or output.
- Enter a
<pre>
block- or if you're feeling lazy, upload a snapshot
- Syntax highlighting using the included themes.
- A short explanation of what we're trying to learn.
- For any key functions or symbols, wrap in
<code>
.
Key: ♞ Required / ✄ Optional (explicitly hide fields) / ♻ Optional (explicity show fields) / ♘ Optional (Only if ✄ is used)
The puzzle theme allows us to get a little creative. We ask ourselves a puzzle question to:
- Drill yourself in a different way.
- Try a different result with the syntax you're learning.
- Add a new function to the mix.
#### ♞ Puzzle
- Important: Must fill
♞ Puzzle
to generate card. - The puzzle question. Be creative!
- Optionally hide the inline code sample on the front of the card.
- Optionally show the inline code sample on the back of the card.
- Will be displayed as a Reference guide
- Optionally hide the sample code block on the front of the card.
- Optionally show the main sample code block on the back of the card.
- Will be displayed as a Reference guide.
- Sometimes it can be useful to display a different syntax, one that is an extension of, or complementary of the original.
- Requires
–--✄--- Hide on front: Syntax (inline code)
to betrue
- Requires
- Sometimes it can be useful to display a different code example, for instance using the original syntax with an extra function, or generating a different output.
- Requires
–--✄--- Hide on front: Sample (code block or image)
to betrue
- Requires
- Give yourself a clue to the answer.
- As we have a specific question, we'll probably want a specific answer.
- Similar to
★ Key point (code block or image)
- You can always reference
☆ Sample (code block or image)
orKey point (code block or image)
instead of creating a new one.
- Similar to
- Similar to
★ Key point notes
for the puzzle question.- You can always reference
★ Key point notes
instead of creating a new one.
- You can always reference
Key: ✎ Optional
Use sparingly, as it's always best to be succinct with Anki. Think of this as a 'reference' for future use:
- Links to documentation
- Supplementary notes
- Anything that is universal between cards
- Store raw
.md
for future editing, if necessary
- Fields marked Optional fields (☆ ✄ ♻ ✎) can be left blank and the template will ignore them. Required fields (✔ and ♞) are required in order for a card to be generated.
- You can reference fields within fields. For instance:
{{☆ Syntax (inline code)}}
or{{★ Key point (code block or image)}}
. This will pick up all the HTML from those fields.- Keep in mind any referenced fields will have to be manually edited if the field name is ever changed, which can be a huge pita.