$npx skillfedfor your agent

gh-md-to-html

Feature-rich Github-flavored Markdown to html python and command line interface.

With conditionsPyPI HTMLReleased Jun 2024176.4K downloads / moLICENSE.txtPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gh_md_to_html-1.21.3-py3-none-any.whl
v1.21.3 · released 2024-06-17 · Python >=3.6 · 6 runtime deps: Pillow, beautifulsoup4, emoji, requests, shellescape, webcolors

Yes, with conditions. The package is stable and has no known vulnerabilities, with low install friction. However, it is dormant—no updates in 788 days—so compatibility with current versions of its dependencies is unverified. Install if you need GitHub-flavored markdown conversion with image optimization and formula support and can tolerate potential drift; avoid if you require active maintenance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Offline conversion requires LaTeX and dvisvgm installed; PDF export requires pdfkit.
  • Online conversion requires internet access to GitHub's Markdown API.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

LICENSE.txt (unclear) — License treatment is unclear—the package includes a LICENSE.txt file but provides no SPDX identifier. Review the license file directly before use in proprietary or restricted contexts.

last release 2024-06-17 (788 days) · last repo commit 2024-06-17 · 117 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,396 downloads/mo, #10,243 on PyPI

Verify before relying

pip install gh-md-to-html

from gh_md_to_html import main
main(['input.md', 'output.html'])
  • Whether the package's offline conversion mode truly matches GitHub's current markdown behavior after 788 days of dormancy.
  • Compatibility with modern versions of Pillow, beautifulsoup4, and requests given the long time since last release.
  • Whether formula rendering via Codecogs EqnEditor still works reliably without documented API changes.
Same gist for agents: .md · .json

What it is and what it does

gh-md-to-html is a Python module and command-line tool that converts Markdown to HTML, primarily targeting GitHub-flavored Markdown. It can use GitHub's online Markdown API (requiring internet) or operate offline with a mode designed to closely imitate GitHub's behavior. The package extends any underlying markdown converter with features like image downloading and optimization, LaTeX formula support, PDF export, emoji shortcode expansion, table-of-contents generation, and GitHub-style CSS styling.

The tool is designed mainly for static site generation from markdown files—particularly useful for GitHub Actions workflows or static site builders—but works for any markdown-to-HTML task. It handles non-ASCII characters, manages image caching and responsive sizing via srcset, and creates root-relative links. Dependencies include Pillow, beautifulsoup4, emoji, requests, shellescape, and webcolors for image processing, HTML parsing, and styling.

Use it for

  • Convert README.md files to standalone HTML pages for static documentation sites or GitHub Pages.
  • Batch convert markdown homework or assignment files to PDF with formula support and image embedding.
  • Generate styled HTML from markdown in CI/CD pipelines using offline mode without external service calls.
  • Optimize and cache images referenced in markdown while maintaining correct relative links in output HTML.
  • Create table-of-contents-enabled HTML documents from markdown with LaTeX formula rendering.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is stable and has no known vulnerabilities, with low install friction. However, it is dormant—no updates in 788 days—so compatibility with current versions of its dependencies is unverified. Install if you need GitHub-flavored markdown conversion with image optimization and formula support and can tolerate potential drift; avoid if you require active maintenance.

Install

gh-md-to-html on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. The package is dormant (788 days since last release) but remains functional; maintenance status suggests no active development, though the repository is not archived.

Offline conversion requires LaTeX and dvisvgm installed; PDF export requires pdfkit. Online conversion requires internet access to GitHub's Markdown API.

License in practice

License treatment is unclear—the package includes a LICENSE.txt file but provides no SPDX identifier. Review the license file directly before use in proprietary or restricted contexts.

Quickstart

pip install gh-md-to-html

from gh_md_to_html import main
main(['input.md', 'output.html'])

Verify before relying

  • Whether the package's offline conversion mode truly matches GitHub's current markdown behavior after 788 days of dormancy.
  • Compatibility with modern versions of Pillow, beautifulsoup4, and requests given the long time since last release.
  • Whether formula rendering via Codecogs EqnEditor still works reliably without documented API changes.

Package facts

LicenseLICENSE.txt unclear
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
Pillowbeautifulsoup4emojirequestsshellescapewebcolors
MaintenanceDormant 788 days since the last release
Last repo commit
First released
Downloads176,396 / month, #10,243 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3

Evidence: gh_md_to_html-1.21.3-py3-none-any.whl

Tags

Capabilities
markdown to html convertergithub flavored markdownoffline markdown conversionmarkdown to pdfstatic site generator markdownlatex formula in markdownimage optimization markdown
Topics
markdown-to-htmlstatic-site-generationoffline-conversion

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “offline markdown conversion”

  • gh-md-to-htmlConverts GitHub-flavored Markdown to HTML with support for offline…
  • mineruConverts PDF, DOCX, PPTX, XLSX, images, and web pages into structured…
  • markitdown-mcpExposes MarkItDown's document-to-markdown conversion as an MCP…

Give your agent the search over MCP, or paste the wish link into any chat.

More HTML packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.

Install it if you need to parse or extract data from markup documents.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
lxml Worth it
PyPI · Python Modules · released May 2026

lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.

Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.

permissive licensecompiled wheel · 3.8+
416.8Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Markdown Worth it
PyPI · Python Modules · released Jul 2026

Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.

Install it if you need to parse Markdown in Python.

BSD-3-Clausepure Python · 3.10+
121.7Mdownloads / mo

See also py-gfm · md2pdf · multimark · markdown-pdf · imgkit · wkhtmltopdf · cmarkgfm · nbconvert · markdown-to-confluence · markdownify