# gettalong/kramdown

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.

Repository: https://github.com/gettalong/kramdown
Canonical: https://ross.abutalabs.com/products/kramdown
Homepage: http://kramdown.gettalong.org
Language: Ruby
License: NOASSERTION
License Family: other
Topics: kramdown, ruby, markdown, html, pdf
Last push: 2026-01-31T18:52:28+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 65, release rhythm 8, longevity 100
- inputs: {"age_days": 6485, "days_push": 214, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1780, forks 279 (observed 2026-08-28T04:05:35.339522+00:00)

## What it is
kramdown is a fast, pure-Ruby library for parsing and converting a superset of Markdown (including GFM and PHP Markdown Extra extensions) to HTML, LaTeX, PDF, or back to kramdown. It builds an internal AST that enables multiple input and output formats and also ships a command-line converter.

## Use cases
- convert markdown to html in a ruby app
- render markdown to pdf via latex
- parse github flavored markdown
- use markdown in a static site generator like jekyll
- convert html back to markdown
- strip html tags from markdown documents

## When to choose
- you need a fast, dependency-free pure-Ruby Markdown converter
- you need output formats beyond HTML such as LaTeX or PDF
- you need Markdown Extra/GFM extensions and a strict syntax definition
- you want an AST-based converter you can extend with custom parsers or converters

## When to avoid
- you need CommonMark-spec-exact parsing behavior
- you are not working in Ruby and want a native implementation
- you need streaming or incremental parsing of very large documents

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, templating, pdf
- domain: web-development, documentation, files, pdf
- platform: ruby, jvm, cross-platform, cli
- tags: markdown-converter, gfm, latex-output, pure-ruby, jekyll

## Member repositories
- gettalong/kramdown (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.339522+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:24:35.610817+00:00, confidence not recorded.
  - readme: https://github.com/gettalong/kramdown (fetched 2026-08-28T04:05:35.339522+00:00, sha 4621324c7ba9)
  - homepage: http://kramdown.gettalong.org (fetched 2026-08-29T11:03:10.666670+00:00, sha 981d218678f8)
  - site_page: https://kramdown.gettalong.org/installation.html (fetched 2026-08-29T11:03:10.675678+00:00, sha 156574709f32)
  - site_page: https://kramdown.gettalong.org/documentation.html (fetched 2026-08-29T11:03:10.677615+00:00, sha 4b3baa6b6b56)
- Data as of 2026-08-30T08:39:29.467469+00:00.
