Skip to content
Extraits de code Groupes Projets
compile.sh 550 octets
Newer Older
  • Learn to ignore specific revisions
  • Pierre-Yves Barriat's avatar
    Pierre-Yves Barriat a validé
    #!/bin/bash
    #
    # PY Barriat, September 2024
    #
    # Download and install marp (MarkDown slides extension) from here:
    # https://github.com/marp-team/marp-cli/releases
    #
    # Install npm (needed for mermaid: nice extension to make diagramm)
    # npm i
    # sudo apt install npm
    #
    
    rm -f ./Python.pdf ./Python.html
    
    npx marp --allow-local-files --theme ./assets/tum.css -c ./assets/marp.config.js ./Python.md -o Python.pdf
    npx marp --template bespoke --bespoke.progress --allow-local-files --theme ./assets/tum.css -c ./assets/marp.config.js Python.md -o Python.html