Skip to main content

Resume markdown to print ready HTML for email or web

Project description

Build & Release CI PyPI version GitHub Release License: MIT Maintenance Downloads GitHub issues PRs Welcome Conventional Commits semantic-release: angular

Markdown Resume Generator

'Buy Me A Coffee'

A simple, lightweight tool to convert markdown-formatted resumes into beautiful, print-ready HTML documents styled with Tailwind CSS.

Resume-MD Example

Features

  • Convert Markdown to styled HTML resumes
  • Modern design with Tailwind CSS
  • Automatic header detection for contact information
  • ATS-friendly hidden information for keyword optimization
  • Print-optimized layout with page break support
  • No external dependencies (Python standard library only)
  • Responsive design for both screen and print

Installation

From PyPI

pip install resume-md

From Source

git clone git@github.com:SamCullin/resume-md.git
cd resume-md
pip install -e .

Development Setup

To set up the development environment:

git clone git@github.com:SamCullin/resume-md.git
cd resume-md
pip install -e ".[dev]"

Usage

Basic Usage

resume-md --input your_resume.md

This will generate an HTML file with the same name as your input file (e.g., your_resume.html).

Command Line Options

resume-md --help

Available options:

  • --input, -i: Path to input markdown file (default: resume.md)
  • --output, -o: Path to output HTML file (default: <input_name>.html)
  • --template, -t: Path to HTML template file (use built-in template if not specified)
  • --version, -v: Show version information and exit

Using as a Library

from resume_md.tokenizer import MarkdownTokenizer, read_markdown_file
from resume_md.component_factory import tokens_to_components
from resume_md.renderer import Renderer

# Read and tokenize markdown
markdown_text = read_markdown_file("resume.md")
tokenizer = MarkdownTokenizer(markdown_text)
tokens = tokenizer.tokenize()

# Convert tokens to components and render to HTML
components = tokens_to_components(tokens)
renderer = Renderer()
rendered = renderer.render_components(components)

# Access the header and content HTML
header_html = rendered["header"]
content_html = rendered["content"]

Markdown Format

The resume-md tool supports a specific markdown format designed for resumes. For examples, see:

Page Breaks

You can force a page break in your resume using the special markdown comment syntax:

This is content on the first page.

[page-break]: # 

This content will appear on a new page.

When the document is printed, a page break will be inserted at this location.

ATS-Specific Information

You can include ATS (Applicant Tracking System) specific information that will be hidden from the visual display but accessible to text extraction systems. This is useful for including additional keywords, skills, or metadata that ATS systems can parse.

[ats-info]: # Skills: Python, JavaScript, TypeScript, React, Node.js
[ats-info]: # Tools: Git, GitHub, VS Code, Docker, Kubernetes
[ats-info]: # Certifications: AWS Certified Solutions Architect
[ats-info]: # Languages: English (Native), Spanish (Fluent)

The ATS-info comments follow the format: [ats-info]: # Category: Content

  • Category: The type of information (e.g., Skills, Tools, Certifications)
  • Content: The actual information content

This information will be rendered as hidden HTML elements that are:

  • Invisible to users viewing the resume
  • Accessible to ATS systems for keyword extraction
  • Properly structured with semantic markup
  • Tagged with data attributes for field identification

Example usage in a resume:

# John Doe
Email: john@example.com | Phone: (555) 123-4567

[ats-info]: # Skills: Python, JavaScript, Machine Learning, Data Analysis
[ats-info]: # Tools: Git, Docker, AWS, Jenkins, Terraform
[ats-info]: # Frameworks: React, Django, Flask, Express.js

## Professional Experience
...

Development

Running Tests

pytest
# With coverage
pytest --cov=resume_md

Code Formatting

black resume_md
isort resume_md

Project Structure

  • resume_md/: Main package
    • __init__.py: Package initialization
    • main.py: CLI entry point
    • tokenizer.py: Markdown tokenizer
    • components.py: Component data classes
    • component_factory.py: Converts tokens to components
    • renderer.py: Renders components as HTML
    • template.html: HTML template
  • tests/: Test cases
  • .github/workflows/: CI/CD workflows

Repository

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

resume_md-1.2.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

resume_md-1.2.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file resume_md-1.2.0.tar.gz.

File metadata

  • Download URL: resume_md-1.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resume_md-1.2.0.tar.gz
Algorithm Hash digest
SHA256 542ddaacbef2b62b454a5007aa9d8b80a6e5d32c1436012cd0d3760337bc0fd4
MD5 aa6ca45e220b55bf710c3d098a9435b1
BLAKE2b-256 79bf46412897c72ff62fd55a53e34cf96fd60f633980629324be023dcb0109d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for resume_md-1.2.0.tar.gz:

Publisher: publish.yml on SamCullin/resume-md

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

File details

Details for the file resume_md-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: resume_md-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for resume_md-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59005dd8e75b78fc27e9bc65c5d2e0c94052473feaf5aee2be766dc9301499af
MD5 d926c4e191267b7d2c1e30fcfe03e6a1
BLAKE2b-256 ced3b0c9a8c1040c5044313e33b95ec2861f6184bf8db46fa50968975e5c97e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for resume_md-1.2.0-py3-none-any.whl:

Publisher: publish.yml on SamCullin/resume-md

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