diff --git a/resume.md-main/LICENSE b/resume.md-main/LICENSE deleted file mode 100755 index dda9433..0000000 --- a/resume.md-main/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Mike Lee Williams - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/resume.md-main/Makefile b/resume.md-main/Makefile deleted file mode 100755 index 97ee479..0000000 --- a/resume.md-main/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -.PHONY: resume watch clean - -resume: resume.pdf resume.html - -watch: - ls *.md *.css | entr make resume - -name := $(shell grep "^\#" resume.md | head -1 | sed -e 's/^\#[[:space:]]*//' | xargs) - -resume.html: preamble.html resume.md postamble.html - cat preamble.html | sed -e 's/___NAME___/$(name)/' > $@ - python3 -m markdown -x smarty resume.md >> $@ - cat postamble.html >> $@ - -resume.pdf: resume.html resume.css - weasyprint resume.html resume.pdf - qpdf --empty --pages ./resume.pdf 1-1 -- ./resume.truncate.pdf - mv ./resume.truncate.pdf ./resume.pdf - -clean: - rm -f resume.html resume.pdf diff --git a/resume.md-main/README.md b/resume.md-main/README.md deleted file mode 100755 index a8641ab..0000000 --- a/resume.md-main/README.md +++ /dev/null @@ -1,69 +0,0 @@ -# resume.md - - - - -Write your resume in -[Markdown](https://raw.githubusercontent.com/williamsmj/resume.md/main/resume.md), -style it with [CSS](resume.css), output to [HTML](resume.html) and -[PDF](resume.pdf). - - -## Instructions - - 1. Clone this repository - - 2. Install the dependencies: -
- pip install markdown weasyprint -- - 3. Edit [resume.md](resume.md) (the placeholder text is taken with thanks from the - [JSON Resume Project](https://jsonresume.org/themes/)) - - 4. Run `make resume` to build resume.html and resume.pdf. - -## Customization - -Edit [resume.css](resume.css) to change the appearance of your resume. The -default style is extremely generic, which is perhaps what you want in a resume, -but CSS gives you a lot of flexibility. See, e.g. [The Tech Resume -Inside-Out](https://www.thetechinterview.com/) for good advice about what a -resume should look like (and what it should say). - -Because the source is plain markdown and python-markdown is a very bare bones -markdown compiler, elements cannot be tagged with ids or classes in the markdown -source. If you need more control over the HTML, take a look at -[kramdown](https://kramdown.gettalong.org/syntax.html). I chose not to use it -for this project to avoid a non-python dependency. - -Change the appearance of the PDF version (without affecting the HTML version) by -adding rules under the `@media print` CSS selector. - -Change the margins and paper size of the PDF version by editing the [`@page` CSS -rule](https://developer.mozilla.org/en-US/docs/Web/CSS/%40page/size). - -If you make a resume.css that you like, please submit a pull request. I'd be -happy to collect these. - -## Tips - -Run `make watch` while you are working on your resume to rebuild it whenever -resume.md or resume.css change (requires -[entr](http://eradman.com/entrproject/)). - -The simplest way to maintain multiple versions of your resume is to comment bits -of text in or out based on the audience. This can be done with standard HTML -comment syntax (e.g. ``) but beware that -commented out text will be included in the HTML source that you are presumably -going to put online or share. - -An alternative is to keep snippets of Markdown (or CSS) in separate files, and -collect them into a single file for each version of your resume using a -templating tool, makefile or shell script. - -Use, e.g. `git tag` to record which version of the resume you sent to which -person. - -Use `git diff --word-diff` to make `git diff` more legible (this applies any -time you run git diff on natural language). diff --git a/resume.md-main/postamble.html b/resume.md-main/postamble.html deleted file mode 100755 index e537ef1..0000000 --- a/resume.md-main/postamble.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - -