- Open repo as VSCode dev container
- Run
npm i
- Click on "Build MDTeX" (wait for it to finish)
- Click on "Generate PDF" (first run may fail due to missing packages, run again after)
- Save
main.md
- If it fails to generate PDF, try
- Running the latex command in terminal
- Restarting VSCode
- Open VSCode
- Edit
main.md
- Save (Save twice to see metadata updates like table of contents & references. Why? because latex is great)
- Your Markdown: doc/main.md
- Resulting PDF: doc/main.pdf