1
0
Fork
You've already forked pdf2md
0
Small binary, which takes slides from a pdf file and puts them as images in a markdown file to take notes (e.g. during lectures)
  • Go 100%
2023年03月26日 16:16:35 +02:00
.gitignore First version. Does what it is supposed to do. See Readme for details. 2023年03月26日 16:02:19 +02:00
go.mod First version. Does what it is supposed to do. See Readme for details. 2023年03月26日 16:02:19 +02:00
go.sum First version. Does what it is supposed to do. See Readme for details. 2023年03月26日 16:02:19 +02:00
LICENSE First version. Does what it is supposed to do. See Readme for details. 2023年03月26日 16:02:19 +02:00
main.go First version. Does what it is supposed to do. See Readme for details. 2023年03月26日 16:02:19 +02:00
README.md add installation steps 2023年03月26日 16:16:35 +02:00

pdf2md

TLDR: pdf2md is a small binary written in go, which takes a pdf file (typically presentation slides) and creates a subfolder with a jpg file for each slide and a filename.md file, which renders all these images with additional space between each slides for notes.

One use case is taking the professors slides of a university course and create a markdown file quickly to follow along and type notes, without managing separate files.

Example

test.pdf is a pdf with 2 pages in this exaple.

Command: pdf2md test.pdf

Outcome of files in directory containing test.pdf

.
├── test.pdf
├── test.md
├── test
│ ├── test000.jpg
│ └── test001.jpg

test.md:

# test.pdf

---
## Page 1
![test/test000.jpg](test/test000.jpg)
### Notes

---
## Page 2
![test/test001.jpg](test/test001.jpg)
### Notes

---

Installation (Linux)

Building from source

go get
go build .

License

lukm/pdf2md is GNU GPLv3 licensed