Learn R Programming

ankiR (version 0.6.0)

anki_to_markdown: Export deck to Markdown format

Description

Exports cards to Markdown flashcard format.

Usage

anki_to_markdown(
  deck,
  file = NULL,
  path = NULL,
  profile = NULL,
  format = c("obsidian", "logseq", "basic")
)

Value

Invisibly returns the number of cards exported

Arguments

deck

Deck name or ID

file

Output file path

path

Path to collection.anki2 (auto-detected if NULL)

profile

Profile name (first profile if NULL)

format

Format: "obsidian", "logseq", or "basic"

Examples

Run this code
if (FALSE) {
anki_to_markdown("Medical")
}

Run the code above in your browser using DataLab