Full rendering of embedded content
Raw HTML, inline and linked SVG, document-level styles and scripts run at page level in the Read view. No iframes, no sanitizer surprises.
Inlay is a Mac editor that renders the HTML, SVG, CSS and JavaScript inside your documents the way a browser would. And it never rewrites your file behind your back.
A <script> that draws a chart, an inline SVG diagram, a<style> block or a slider widget runs as it would on a web page, in an isolated view that cannot reach your Mac or the network.
# Quarterly report Revenue grew in every region. <canvas id="revenue"></canvas> <script src="https://cdn.jsdelivr.net/npm/chart.js@4"></script> <script> new Chart(document.getElementById('revenue'), { type: 'bar', data: { labels: ['EU', 'US', 'APAC'], datasets: [{ label: 'Q3', data: [12, 19, 7] }] }, }); </script>
Revenue grew in every region.
This chart is drawn by Chart.js from the script on the left. In Inlay the CDN URL is swapped for the copy bundled with the app, so no network request is made.
Raw HTML, inline and linked SVG, document-level styles and scripts run at page level in the Read view. No iframes, no sanitizer surprises.
Chart.js, ECharts, D3, Mermaid and KaTeX URLs on cdnjs, jsDelivr and unpkg are swapped for bundled copies. Your report renders on a plane.
Write in a rich editor. Anything that cannot round-trip losslessly, such as raw HTML, front matter or comments, becomes an island with its own in-place source editor.
CodeMirror 6 for the whole file when you want it. Split shows the source beside the live Read view with scroll sync.
Press Space in Finder. SVG always renders, scripts are opt-in, and a static fallback covers the rest. Same renderer as the app.
Open and save without edits: byte-identical. Edit one block: only that block's bytes change, line endings and BOM included.
Also:GFM tables, task lists and footnotesFront matterKaTeX mathMermaidLight and dark themesHTML and PDF exportVietnamese Telex, VNI and CJK input10,000-line files open instantly
The Quick Look extension renders through the same parser as the app, running in JavaScriptCore with no web view. Inline SVG always renders; scripts stay off unless you opt in; everything else falls back to a clean static page.
Inlay is open source under Apache-2.0 and in early development. Watch the repository to hear about the first build, or star it to follow along.