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.0.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.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: md_cv_gen-0.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 293fd1ff63072b42b9e0b5540921fdda34d89f707e0e6adfa4064189efa760e6
MD5 4f0fb95128a340325d8f45981071c3ed
BLAKE2b-256 e3dfbae376fce3fb7a3ed7836e19f8c4cf89a1a94e9400f327a23d6f7b9867e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for md_cv_gen-0.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: md_cv_gen-0.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0878887de71c208add996ebb2886e272afe817f4f4470528d70d396f8e96e90
MD5 ef6be00ca70a76cb410b75124615d7b8
BLAKE2b-256 0f868a3bf0e5435337ee3fdf35ef567ccaf99212bd80457717e5c027acca7d8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for md_cv_gen-0.0.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