2021-06-18 11:53:20 +02:00

1.2 KiB

csv-to-marp-converter

multiple-choice-quiz-csv-to-marp-markdown-slides-converter

this tool can convert a csv file into a Marp markdown slides, which can subsequently be converted into a pdf file.

csv needs to have the following format

Kategorie 1: Zitate ( Wer hat's gesagt?),,,,
(1) Probleme sind nur Dorninge Chancen,Jan Böhmermann,Christian Lindner,Elon Musk,Pable Escobar

Strings surrounded with quotation marks

The marp-cli can be used to convert the md to pdf:

powerpoint export is also possible with --pptx

  • use config
    • run using cli command when in prod mdoe (inside docker)
    • run using docker when in dev mode

Steps:

  1. csv -> marp markdown converter
  2. md -> pdf conversion using mark cli docker image

file upload based on https://pythonise.com/series/learning-flask/flask-uploading-files

python docker wait for container