magpie.md

Your decks

    Sample decks

      Looking for bundled decks...

      Markdown format - everything supported

      The first # heading is the deck title. Cards are separated by ===. Within a card, --- splits the front from the back.

      Basic card

      # Deck title
      
      What is the capital of France?
      ---
      Paris
      ===
      2 + 2 = ?
      ---
      4
      

      Markdown in the answer

      Backs (and fronts) support **bold**, *italic*, `code`, lists, > quotes, links and fenced code blocks.

      Name the SI base unit of mass.
      ---
      The **kilogram** (kg).
      
      - not the gram
      - defined via Planck's constant
      

      Images & inline SVG

      Standard markdown image syntax, ![alt](url), two ways:

      • Link to it - a full https:// URL or a path relative to the page.
      • Embed it - paste an image into the editor, or use a data: URI with the image as base64. Embedded images are stored with the deck in your browser (the card shows ![alt](media:name.png)) and go back into the .md as base64 when you export, so the file travels with its images and works offline.

      You can also paste raw <svg>...</svg> straight into a card to draw crisp, scalable graphics inline (scripts and event handlers are stripped for safety). Images and SVG scale to fit the card.

      Which structure is this?
      
      ![A diagram of a neuron](https://example.com/neuron.png)
      ---
      A neuron.
      ===
      Embedded, no external file:
      
      ![red dot](data:image/png;base64,iVBORw0KGgoAAA...ABJRU5ErkJggg==)
      ---
      A single red pixel.
      

      LaTeX math (KaTeX)

      Inline with $ ... $ or \( ... \). Display with $$ ... $$ or \[ ... \].

      State the quadratic formula for $ax^2+bx+c=0$.
      ---
      $$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$
      

      Multiple choice (single & multi answer)

      Put a), b), ... (or a., b.) options on the front, and the correct letter(s) on the first line of the back - b for one answer, b, c for several. Lines after that show as an explanation. Pick with a click or the a-z keys.

      Which of these are prime?
      a) 4
      b) 5
      c) 7
      d) 9
      ---
      b, c
      4 and 9 are composite.
      

      Cloze deletions

      Wrap the words to hide in {{ ... }}. The card shows the sentence with those words blanked. Revealing fills them back in. Add a hint with {{answer::hint}}. In Type answer mode you type the missing word and it's graded like any typed answer. Otherwise reveal and self-grade. Anything after --- is shown as extra context.

      The mitochondria is the {{powerhouse}} of the {{cell::organelle}}.
      ---
      A favourite exam factoid.
      

      Anki's {{c1::...}} group syntax is accepted too. On import a note with several groups becomes one card per group, just like in Anki.

      Anki decks (.apkg)

      Import an Anki .apkg (a shared deck, or File → Export → Anki Deck Package), from any Anki version. Each card is rendered from its note type's templates and converted to markdown: formatting, images, cloze and MathJax come along, and audio is dropped. Subdecks are merged into one deck named after the top-level deck. Anki's scheduling isn't imported, so every card starts new.

      Export .apkg writes a package any Anki version can import, with its images. Normal cards use a magpie Basic note type (Front/Back) and cloze cards a magpie Cloze one. Exporting the same deck again updates those notes in Anki instead of duplicating them.

      Anki's Notes in Plain Text (.txt) export works too: import or paste it. That format has no media, so image references won't resolve unless you embed them.

      Saved progress (in exports)

      Export .md + progress appends a hidden comment per studied card. It renders invisibly on GitHub and is read back on import, so your stats travel with the deck.

      Paris
      ---
      The capital of France.
      <!-- magpie seen=4 correct=3 wrong=1 last=right -->