Slides for the 3rd day

Vincent Tam

29th March 2023

Base Conversion

Tech used

Markdown → HTML slides made with pandoc

pandoc -s --katex -i -t slidy index.md -o index.html

It works on any mainstream browser, and mobile also. That’s it for the basics. You can stop here if you aren’t seeking to make avanced things.

Markdown code of these slides: view the file index-en.md in my repo.

Git Bash Vim Git Bash

My own stuff

Skill: header

Specify the custom scripts and styles to be used in the source file’s header.

---
header-includes: |
  <script src="script.js"></script>
  <link rel="stylesheet" href="style.css">
---

my markdown document

Source: https://stackoverflow.com/a/42371554/3184351

Skill: wrapper

  1. pandoc doesn’t support custom styles for HTML output.
  2. Wrap the target with a « <div> wrapper ». For example:

Source: https://stackoverflow.com/a/45306645/3184351