-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
34 lines (22 loc) · 858 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
print:
converts markdown to pdf.
dep:
# https://github.com/tcd/md2pdf
brew tap tcd/taps
brew install tcd/taps/md2pdf
clean:
rm *.pdf
test-run:
md2pdf version
# local test
md2pdf markdown-cheatsheet.md --output markdown-cheatsheet_local.pdf
# remote test
# TOCS in mac standard PDF reader not working. See Issue with screen shot at: https://github.com/tcd/md2pdf/issues/2
md2pdf remote https://raw.githubusercontent.com/tcd/md2pdf/master/example/markdown-cheatsheet.md markdown-cheatsheet_remote.pdf
test-open:
#open markdown-cheatsheet.pdf
open file:///Users/apple/workspace/go/src/github.com/gedw99/notes/_spec/markdown-cheatsheet.pdf
intro-run:
# local test
md2pdf introduction.md --output introduction_local.pdf
md2pdf remote https://raw.githubusercontent.com/amplify-edge/doc-md/master/introduction.md introduction_remote.pdf