Skip to main content
All projects

RDTMD

  • VS Code
  • TypeScript
  • Markup Language
  • LaTeX
  • SVG
  • Parser
  • AST
  • Open Source

A native technical markup language and VS Code extension, built entirely from scratch with zero runtime dependencies. It replaces the fragmented Markdown ecosystem by bringing LaTeX mathematics, interactive charts, structured diagrams, tabs, metric dashboards, conversations and modular files into a single specification. Everything is generated as SVG and DOM, with no innerHTML or eval, so it works under the strictest Content Security Policies (CSP).

Installation

code --install-extension RDTvlokip.rdtmd

VS Code Marketplace

Live Marketplace data is loading…

Open on the Marketplace

Key figures

0
Runtime dependencies
25+
Highlighted languages
4
Diagram types
3
Chart types
MIT
Licence

How it works

Native maths, charts and diagrams

A recursive LaTeX engine (fractions, roots, matrices, integrals, machine-learning operators) and SVG generators for bar, line and pie charts, plus flow, sequence, mindmap and timeline diagrams. No KaTeX, Mermaid or Chart.js: zero external assets.

Readable diagrams, no overlaps

Since 1.0.3, edge labels no longer hide arrows or nodes, timeline cards are sized from the measured text, sequence diagrams adapt their spacing to the labels, and mindmaps have no depth limit.

Predictable syntax, readable even without a renderer

Nested blocks use variable-length fences (::::tabs) with depth tracking, and code blocks containing ::: are ignored by the parser. A document stays readable in a terminal or a raw editor, and a plainText() serializer turns the whole syntax tree into clean text.

Unambiguous metrics

A +2.1% throughput is an improvement, a +2.1% latency is a regression. Metric cards declare their polarity explicitly (good, bad, neutral) instead of guessing a colour from the sign.

Strict CSP compliant

No innerHTML, no eval, no inline styles: every element is built with createElement, createElementNS and textContent. javascript:, vbscript: and malicious data: links are blocked at the inline parsing stage.

Tabs, conversations, collapsible sections and includes

Native blocks for tabs, dialogue transcripts (user, assistant, system), collapsible sections and the @include directive, with relative path resolution, cycle detection and a depth limit of 8 levels.

  • LaTeX formulas (sum, integral, fractions) rendered by the RDTMD engine
    LaTeX mathematics
  • SVG bar chart of monthly revenue over two years
    Bar chart
  • SVG line chart of inference latency by batch size
    Line chart
  • SVG pie chart of language distribution
    Pie chart
  • Flowchart of an inference pipeline
    Flowchart
  • Sequence diagram of an authentication flow
    Sequence diagram
  • Mindmap of the RDTMD ecosystem
    Mindmap
  • Timeline of a project roadmap
    Timeline
  • Python, JavaScript and Rust tabs with syntax highlighting
    Interactive tabs
  • Metric cards with explicit polarity (good, bad, neutral)
    Metric cards
  • Transcript of a user, assistant and system conversation
    Conversation
  • Collapsible section with an animated chevron, open by default
    Collapsible section
  • Python code block with a title, line numbers and highlighted lines
    Syntax highlighting
  • Diff block with rounded outer corners
    Diff block

Other projects