marki

Crates.iomarki
lib.rsmarki
version0.1.0
sourcesrc
created_at2022-12-24 20:19:46.303991
updated_at2022-12-24 20:19:46.303991
descriptionGenerate Anki cards from Markdown notes
homepage
repositoryhttps://github.com/langston-barrett/marki
max_upload_size
id745048
size35,627
Langston Barrett (langston-barrett)

documentation

README

Marki

Generate Anki cards from Markdown notes.

How it Works

A card consists of a specially-formatted comment followed by a prompt and response (front and back of a card):

<!-- marki[card] -->

Q. What is Marki?

A. A tool to generate Anki cards from Markdown notes.

See test.md for an example.

The syntax is inspired by Andy's notes.

Non-Features

Marki doesn't support:

  • Media files
  • Other note types (including cloze)
  • Rewording cards without creating duplicates (see genanki-rs#12)

Install

Download a binary from the releases page, or build with Cargo:

cargo install marki

Usage

Usage: marki [OPTIONS] [FILE]...

Arguments:
  [FILE]...  Markdown files

Options:
  -d, --deck <DECK>      Deck name [default: Marki]
  -o, --output <OUTPUT>  Output file [default: marki.apkg]
  -v, --verbose
  -h, --help             Print help information

Motivation and Alternatives

This tool exists because most of the alternatives use syntax that isn't suitable for embedding in larger documents (e.g., using headers for questions) or are written in interpreted languages like Python or JavaScript. On the other hand, many of these alternatives are more featureful than Marki.

Commit count: 1

cargo fmt