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 - a data: URI with the image as base64, stored right inside the .md so it travels with the deck 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.

      Importing from Anki

      In Anki choose File → Export → Notes in Plain Text (.txt), then import or paste that file here. magpie reads the tab/CSV export, converts basic formatting (bold, italics, line breaks, images, cloze) to markdown, and turns it into an ordinary deck you can edit and re-export. One note per row. Front/Back become the two faces, and cloze notes stay cloze.

      Media isn't part of that text export, so image/audio references won't resolve unless you embed them yourself. Packaged .apkg files (zipped database) aren't supported - export as plain text instead.

      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 -->