Skip to main content

Generate a clean, professional PDF CV from a Markdown file

Project description

md-cv-gen

Generate a clean, professional PDF CV from a Markdown file. Optionally password-protect the output.

Prerequisites

Installation

python3 -m venv .venv
source .venv/bin/activate
pip install .

Usage

# Output HTML to stdout
md-cv-gen cv.md

# Generate an HTML file
md-cv-gen cv.md -o cv.html

# Generate a PDF
md-cv-gen cv.md -o cv.pdf

# Generate a password-protected PDF
md-cv-gen cv.md -o cv.pdf -p "secret"

The output format is determined by the -o file extension (.pdf or .html). Without -o, HTML is printed to stdout.

Markdown structure

# First Last
**Job title** | City, Country
email | phone | links

---

## Section                         <!-- h2 sections -->

### Role - Company                 <!-- h3 subsections -->
*Dates | Location*                 <!-- dates in italic -->

- Achievements as bullet points

Style customization

The CSS is defined in the STYLE variable in cv_generator.py. You can modify colors, fonts and spacing directly.

Element Property Default
Primary color color (h2, links) #2980b9 (blue)
Text color color (body) #2c3e50 (dark grey)
Font font-family Helvetica Neue, Arial
Page size size (@page) A4
Margins margin (@page) 1.5cm 2cm

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

md_cv_gen-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

md_cv_gen-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file md_cv_gen-0.1.0.tar.gz.

File metadata

  • Download URL: md_cv_gen-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for md_cv_gen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 50ed9c897d65734c3201007eddca4b1a5e613735efd787e686df9d48b864d997
MD5 c30269a9d4c7effb2e36ebb4ddf49ac7
BLAKE2b-256 485b75e4d3a96f9479ea5c04284777beb7cb334e45f405fc922080a1acb7a267

See more details on using hashes here.

Provenance

The following attestation bundles were made for md_cv_gen-0.1.0.tar.gz:

Publisher: publish.yml on goabonga/cv-generator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file md_cv_gen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: md_cv_gen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for md_cv_gen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 573b82a36897a5d7683304a4f44472e710b33df3488113066645f2e7afabe63f
MD5 1543a55987ebbcd8d2e895cef46a5baa
BLAKE2b-256 95aaa6bef044b560db0132837aa333565aa5368e50839b0827075c649a18e86d

See more details on using hashes here.

Provenance

The following attestation bundles were made for md_cv_gen-0.1.0-py3-none-any.whl:

Publisher: publish.yml on goabonga/cv-generator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page