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.rdtmdVS Code Marketplace
Live Marketplace data is loading…
Open on the MarketplaceKey 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.
Examples

LaTeX mathematics 
Bar chart 
Line chart 
Pie chart 
Flowchart 
Sequence diagram 
Mindmap 
Timeline 
Interactive tabs 
Metric cards 
Conversation 
Collapsible section 
Syntax highlighting 
Diff block