HeadlinesBriefing favicon HeadlinesBriefing.com

MDV: Markdown Extension for Data Visualizations

Hacker News •
×

MDV introduces a Markdown superset that transforms simple documents into interactive dashboards and presentations. The tool extends CommonMark with YAML front-matter, fenced blocks for charts, and ::: containers for styled layouts. Developers can embed data visualizations using nothing more than fenced code blocks and named styles, eliminating the need for complex CSS selectors or JavaScript.

MDV renders to self-contained HTML with inline SVG charts and PDF exports, running entirely on Node.js ≥ 20. The system supports data sources including inline CSV/JSON and file references, with built-in themes and reusable named styles. A VS Code extension provides side-by-side live preview, while the CLI offers rendering and auto-reload preview capabilities. The project includes 10 comprehensive examples demonstrating every feature.

The tool targets a specific niche: creating data-rich documents without traditional web development complexity. By restricting functionality to fenced blocks and containers, MDV maintains Markdown's simplicity while adding powerful visualization capabilities. This approach makes it accessible to analysts, managers, and developers who need to communicate data insights without becoming full-stack developers. The pre-release v1 status indicates active development with a clear roadmap documented in the project specs.