On this page
  1. parse-md
  2. Role
  3. Install
  4. Quickstart
  5. When to Reach for It
  6. Gotchas & Pitfalls
  7. Pairs With
  8. Metadata

parse-md

Prev: astree | Up: projects | Next: parse-html5
Rel: wispsy, Foundation, prettynb
Ref: wispsy on GitHub
Tags: #public #wispsy #project #foundation #tier/core


Role

Bounded, source-preserving Markdown parsing and safe typed HTML rendering (CommonMark + opt-in EXTENDED dialect for tables, tasks, footnotes, TOC, and wiki/image syntax) with zero runtime dependencies.

Install

python -m pip install parse-md

Quickstart

from parse_md import EXTENDED, parse, render

doc = parse("# Heading\n\n**Hello**.\n")
assert "<strong>Hello</strong>" in doc.to_html()

result = render("| A | B |\n| --- | --- |\n| one | two |\n", dialect=EXTENDED)
assert "<table>" in result.html

When to Reach for It

Gotchas & Pitfalls

Pairs With


Metadata

type: project-card
slug: parse-md
org: wispsy
repo: wispsy/parse-md
package: parse-md
version: 0.1.0
requires_python: ">=3.14"
layer: foundation
topic: wispsy-foundation
status: active
language: python
source_docs: README.md, docs/

Linked from

Related notes