File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ code-of-conduct.html
2+ code-of-conduct.pdf
Original file line number Diff line number Diff line change 1+ # Code of Conduct
2+
3+ This is Markdown source code to produce HTML (for https://python.nz ) and PDF (for
4+ printing).
5+
6+ #### Create HTML
7+
8+ Use [ pandoc] ( https://pandoc.org ) :
9+
10+ ```
11+ pandoc code-of-conduct.md -o code-of-conduct.html -V "pagetitle:Code of Conduct"
12+ ```
13+
14+ (` -s ` standalone, ` pagetitle ` to suppress title warning without inserting another
15+ headline)
16+
17+ #### Create PDF
18+
19+ Just print the HTML from your browser to a PDF file.<br > If you want to use a dedicated
20+ conversion tool instead, we've successfully used [ weasyprint] ( https://weasyprint.org/ ) :
21+
22+ ```
23+ weasyprint code-of-conduct.html code-of-conduct.pdf
24+ ```
You can’t perform that action at this time.
0 commit comments