compile.sh 736 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. #
  3. # PY Barriat, May 2022
  4. #
  5. # Download and install marp (MarkDown slides extension) from here:
  6. # https://github.com/marp-team/marp-cli/releases
  7. #
  8. # Install npm (needed for mermaid: nice extension to make diagramm)
  9. # npm i
  10. # sudo apt install npm
  11. #
  12. # without mermaid
  13. #marp --allow-local-files --theme tum.css git_elic.md -o git_elic.pdf
  14. #marp --template bespoke --bespoke.progress --allow-local-files --theme tum.css git_elic.md -o git_elic.html
  15. # with mermaid
  16. npx marp --allow-local-files --theme ./assets/tum.css -c ./assets/marp.config.js ./git_elic.md -o git_elic.pdf
  17. npx marp --template bespoke --bespoke.progress --allow-local-files --theme ./assets/tum.css -c ./assets/marp.config.js ./git_elic.md -o ./git_elic.html