Menu

XMarkdown: Markdown charts, diagrams and math for AI reports
📰

XMarkdown: Markdown charts, diagrams and math for AI reports

DEV Community: react·Muhammad Haseeb Iqbal·8 days ago
#3Sx7nVPF
#devtoreact#devto#dev#capacity#document
Reading 0:00
15s threshold

Abstract

XMarkdown is an open-source Markdown renderer for documents that need charts, diagrams, equations, interactive controls, and validated SVG. The first MVP keeps familiar Markdown for prose and adds optional blocks for visual content. This article explains why I built it, how its shared Node/browser engine works, and what the initial measurements show. One complete demo used 208 source tokens against 1,219 for compact HTML/SVG; an extended streaming workload achieved a 5.48× improvement over repeatedly rendering growing prefixes. These results suggest a useful direction for AI-generated reports, with model generation and user studies still to come.

Try the live playground · Explore the GitHub repository · Install from npm

1. Why I started with Markdown

I like Markdown. I can read the source, edit a paragraph, and understand the document without opening a browser.

But I also want a report to contain a chart when a chart helps.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.