CLAUDE.md records the Nova constraints this extension is built around — established by reading Nova 14.1's bundle and probing its preview server, and expensive to re-derive: no previewer extension point, generated pages must live under the preview root, dot-directories are served, and no API reaches into a preview WebView. It also flags the one unverified assumption, that a tab showing Preview still appears in nova.workspace.textEditors, with its symptom and fix. Tests/ is the harness that built the extension, kept rather than left in a scratchpad: a stubbed Nova runtime backed by the real filesystem, node suites for generation and the four close paths, and a headless-browser render test that skips itself without a browser. It caught the ./ doubling in rebased links and checkbox state not surviving serialization. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TueXpMi7eAtgWPuMr4ii52
721 B
721 B
title
| title |
|---|
| Front matter should be hidden |
Sample Document
Intro paragraph with a relative link, inline code, bold and a
TOC link.
- an unchecked task
- a checked task
- a plain item
| Column | Another |
|---|---|
| one | two |
| three | four |
const answer = 42;
graph TD
A[Start] --> B{Works?}
B -->|yes| C[Ship it]
B -->|no| D[Fix it]
D --> A
A Second Heading
sequenceDiagram
Nova->>Extension: Preview Markdown
Extension->>Disk: write preview.html
Disk-->>Nova: file changed
Nova->>Preview: reload
this is not valid mermaid at all {{{
