Skip to content

Export generated content to various formats #9

Description

@Echo2f13

Description

Allow users to export quizzes, flashcards, and notes for use in other tools or sharing with classmates.

Export Formats

Format Use Case
Anki deck (.apkg) Import flashcards into Anki app
PDF Print-friendly revision notes
Markdown (.md) Universal format, works everywhere
CSV Spreadsheet import, data analysis
JSON Data portability, API integration
Print-friendly quiz Paper-based testing

API Endpoints

POST /export/anki      → .apkg file (flashcards)
POST /export/pdf       → .pdf file (notes, quizzes)
POST /export/markdown  → .md file (any content)
POST /export/csv       → .csv file (flashcards, quiz results)
POST /export/json      → .json file (raw data)

Anki Export Details

  • Proper deck structure with tags
  • Include hints as extra field
  • Include mnemonics
  • Media support (if images in cards)

PDF Export Details

  • Clean typography
  • Table of contents for notes
  • Page numbers
  • Print-optimized margins

Acceptance Criteria

  • Anki export with proper deck structure
  • PDF export with clean formatting
  • Markdown export for all content types
  • CSV export for flashcards
  • UI buttons to trigger exports
  • Download progress indicator

Priority

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions