commonmark

Parse Markdown into an AST and render it to HTML per CommonMark.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/mcclowes/fpl-oas --skill commonmark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commonmark
Source: https://github.com/mcclowes/fpl-oas/tree/main/.claude/skills/commonmark
Command: npx skills add https://github.com/mcclowes/fpl-oas --skill commonmark

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers parse, analyze, and render Markdown content following the CommonMark specification, enabling reliable transformation between Markdown and HTML or other representations.

Core Features & Use Cases

  • AST generation: build an abstract syntax tree from Markdown input.
  • Rendering: convert Markdown to HTML or other target formats.
  • Extensions: support for common CommonMark features and practical extensions.
  • Use Case: validate and transform Markdown content for editors, documentation pipelines, or static sites.

Quick Start

Parse a Markdown string and render it to HTML using the provided Parser and HtmlRenderer.

Frequently Asked Questions about commonmark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse Markdown into an abstract syntax tree for analysis?

To parse Markdown into an AST, this skill processes your text according to the CommonMark specification, generating a structured syntax tree. This AST enables detailed content analysis and further transformation for editors or documentation pipelines.

What is the best way to convert CommonMark Markdown to HTML?

Converting CommonMark Markdown to HTML is handled by the built-in renderer, which transforms parsed AST blocks and inline elements into valid HTML output. It supports core syntax like lists, code blocks, and tables for static sites.

Does this Markdown parser support tables and code blocks?

Yes, this Markdown parser supports core CommonMark syntax including block elements, inline elements, lists, code blocks, and tables. It provides robust text-processing for documentation tools and static sites requiring comprehensive feature coverage.

Can I use this for a static site generator or documentation pipeline?

You can use this skill for static sites and documentation pipelines because it validates and transforms Markdown content reliably. It generates an AST for intermediate analysis before rendering the final HTML output across common features.

Why does my Markdown rendering differ from the CommonMark specification?

Markdown rendering may differ from the CommonMark specification if your current parser lacks strict spec compliance. This skill ensures accurate parsing and rendering of blocks, inline elements, and tables following the CommonMark standard.

Are there limitations when extending CommonMark syntax for custom transformations?

When extending CommonMark syntax for custom transformations, you are constrained to the supported core features and practical extensions provided. The generated AST allows further analysis, but complex non-standard syntax may not be natively parsed.