https://github.com/web-dev-sam/mdtex
Write papers using Markdown in VSCode without needing to install (La)TeX.
https://github.com/web-dev-sam/mdtex
Last synced: about 1 year ago
JSON representation
Write papers using Markdown in VSCode without needing to install (La)TeX.
- Host: GitHub
- URL: https://github.com/web-dev-sam/mdtex
- Owner: web-dev-sam
- Archived: true
- Created: 2024-05-01T19:57:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T12:10:58.000Z (about 2 years ago)
- Last Synced: 2025-03-15T05:16:05.365Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 971 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

### First Setup
1. Open repo as VSCode dev container
2. Run `npm i`
3. Click on "Build MDTeX" *(wait for it to finish)*
4. Click on "Generate PDF" *(first run may fail due to missing packages, run again after)*
5. Save `main.md`
6. If it fails to generate PDF, try
- Running the latex command in terminal
- Restarting VSCode
### Workflow after First Setup
1. Open VSCode
2. Edit `main.md`
3. Save *(Save twice to see metadata updates like table of contents & references. Why? because latex is great)*
### Example
- **Your Markdown:** [doc/main.md](https://github.com/web-dev-sam/MDTeX/blob/main/doc/main.md)
- **Resulting PDF:** [doc/main.pdf](https://github.com/web-dev-sam/MDTeX/blob/main/doc/main.pdf)