vantage-md 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +173 -157
- package/README.md +26 -0
- package/dist/directives.css +671 -0
- package/dist/index.cjs +968 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +130 -34
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +130 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +957 -130
- package/dist/index.js.map +1 -1
- package/dist/inline-svg.css +55 -0
- package/dist/line-anchor.css +22 -0
- package/dist/react.cjs +915 -168
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +87 -42
- package/dist/react.d.cts.map +1 -1
- package/dist/react.d.ts +87 -42
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +909 -164
- package/dist/react.js.map +1 -1
- package/dist/styles.css +3 -1
- package/dist/task-list.css +157 -0
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -42,9 +42,87 @@ interface MermaidDiagramProps {
|
|
|
42
42
|
}
|
|
43
43
|
export declare const MermaidDiagram: React.NamedExoticComponent<MermaidDiagramProps>;
|
|
44
44
|
//#endregion
|
|
45
|
+
//#region src/renderMermaidBlocks.d.ts
|
|
46
|
+
/**
|
|
47
|
+
* Client-side utility to find and render mermaid code blocks in a container.
|
|
48
|
+
*
|
|
49
|
+
* After calling `renderMarkdown()`, mermaid blocks come through as
|
|
50
|
+
* `<pre><code class="language-mermaid">...</code></pre>`. This function
|
|
51
|
+
* finds those blocks and replaces them with rendered SVG diagrams.
|
|
52
|
+
*
|
|
53
|
+
* It also draws diagrams ahead of a render: `mermaidFences` reads them out of
|
|
54
|
+
* Markdown and `prerenderMermaid` puts each in the SVG cache, where the React
|
|
55
|
+
* `MermaidDiagram` finds it on mount.
|
|
56
|
+
*
|
|
57
|
+
* Framework-agnostic — works in any browser environment.
|
|
58
|
+
*/
|
|
59
|
+
interface RenderMermaidOptions {
|
|
60
|
+
/** CSS class to add to the SVG wrapper div (default: "mermaid") */
|
|
61
|
+
className?: string;
|
|
62
|
+
/** Called when a diagram fails to render */
|
|
63
|
+
onError?: (code: string, error: Error) => void;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Find all `<pre><code class="language-mermaid">` blocks in a container
|
|
67
|
+
* and replace them with rendered SVG diagrams.
|
|
68
|
+
*
|
|
69
|
+
* @param container - DOM element containing rendered markdown HTML
|
|
70
|
+
* @param options - Optional configuration
|
|
71
|
+
* @returns Promise that resolves when all diagrams are rendered
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* import { renderMarkdown, renderMermaidBlocks } from "vantage-md";
|
|
76
|
+
*
|
|
77
|
+
* const { html } = await renderMarkdown(content);
|
|
78
|
+
* container.innerHTML = html;
|
|
79
|
+
* await renderMermaidBlocks(container);
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare function renderMermaidBlocks(container: HTMLElement, options?: RenderMermaidOptions): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* The code of every Mermaid fence in `markdown`, in source order, exactly as
|
|
85
|
+
* a viewer's `MermaidDiagram` receives it: the fence's content, without its
|
|
86
|
+
* container's indentation or its closing newline.
|
|
87
|
+
*
|
|
88
|
+
* A fence is a diagram when its info string's first word begins with the word
|
|
89
|
+
* `mermaid`, which is the test the viewer applies to the `language-…` class
|
|
90
|
+
* the fence renders with (`/language-(\w+)/`). Text that never says
|
|
91
|
+
* `mermaid` is not parsed at all.
|
|
92
|
+
*/
|
|
93
|
+
export declare function mermaidFences(markdown: string): string[];
|
|
94
|
+
/**
|
|
95
|
+
* Draw one diagram into the SVG cache that `MermaidDiagram` reads when it
|
|
96
|
+
* mounts, so a diagram rendered after this has settled is drawn at its full
|
|
97
|
+
* size on its first paint instead of growing into place once Mermaid answers.
|
|
98
|
+
* The planning page draws every diagram of the cards it is about to show this
|
|
99
|
+
* way, before it commits them.
|
|
100
|
+
*
|
|
101
|
+
* Mermaid is loaded through `getMermaid`, so the drawing is configured, and
|
|
102
|
+
* made safe, exactly as every other diagram of the page is. `theme` is the
|
|
103
|
+
* palette key (`currentMermaidPalette`) to draw for; when the page has moved
|
|
104
|
+
* to another palette by the time Mermaid is ready, nothing is cached, since
|
|
105
|
+
* Mermaid now draws for the page's palette and not for `theme`.
|
|
106
|
+
*
|
|
107
|
+
* Resolves once the diagram is in the cache, at once when it already was, and
|
|
108
|
+
* rejects when Mermaid cannot draw it.
|
|
109
|
+
*/
|
|
110
|
+
export declare function prerenderMermaid(code: string, theme?: string): Promise<void>;
|
|
111
|
+
//#endregion
|
|
45
112
|
//#region src/FrontmatterDisplay.d.ts
|
|
46
113
|
interface FrontmatterDisplayProps {
|
|
47
114
|
frontmatter: Record<string, unknown>;
|
|
115
|
+
/**
|
|
116
|
+
* The Open Question ids this document's own questions carry. When given, a
|
|
117
|
+
* bare `OQ-…` id in the top-level `next` value that is one of them links to
|
|
118
|
+
* that question (`#OQ-…`); every other word of `next` stays plain text.
|
|
119
|
+
*
|
|
120
|
+
* Only ids a question carries, never every id in the text: a compacted id
|
|
121
|
+
* kept in a Decision Ledger names no question, and linking it would land on
|
|
122
|
+
* nothing. Omit it where no planning index is known, and `next` renders
|
|
123
|
+
* exactly as every other value does.
|
|
124
|
+
*/
|
|
125
|
+
linkIds?: readonly string[];
|
|
48
126
|
}
|
|
49
127
|
export declare const FrontmatterDisplay: React.NamedExoticComponent<FrontmatterDisplayProps>;
|
|
50
128
|
//#endregion
|
|
@@ -2101,6 +2179,15 @@ interface RehypeSourceLinesOptions {
|
|
|
2101
2179
|
}
|
|
2102
2180
|
declare const rehypeSourceLines: Plugin<[RehypeSourceLinesOptions?], Root>;
|
|
2103
2181
|
//#endregion
|
|
2182
|
+
//#region src/remarkPlugins.d.ts
|
|
2183
|
+
/**
|
|
2184
|
+
* The mdast half of the chain. Exported on its own because there is a real
|
|
2185
|
+
* mdast-only consumer: the CLI checker parses documents without ever running
|
|
2186
|
+
* rehype (`packages/vantage-check/src/core/document.ts`), and it has to parse
|
|
2187
|
+
* them exactly the way the viewer does.
|
|
2188
|
+
*/
|
|
2189
|
+
export declare function buildRemarkPlugins(options?: PipelineOptions): PluggableList;
|
|
2190
|
+
//#endregion
|
|
2104
2191
|
//#region src/pipeline.d.ts
|
|
2105
2192
|
interface PipelineOptions {
|
|
2106
2193
|
/** GFM tables, strikethrough, task lists (default: true) */
|
|
@@ -2125,13 +2212,6 @@ interface Pipeline {
|
|
|
2125
2212
|
remarkPlugins: PluggableList;
|
|
2126
2213
|
rehypePlugins: PluggableList;
|
|
2127
2214
|
}
|
|
2128
|
-
/**
|
|
2129
|
-
* The mdast half of the chain. Exported on its own because there is a real
|
|
2130
|
-
* mdast-only consumer: the CLI checker parses documents without ever running
|
|
2131
|
-
* rehype (`packages/vantage-check/src/core/document.ts`), and it has to parse
|
|
2132
|
-
* them exactly the way the viewer does.
|
|
2133
|
-
*/
|
|
2134
|
-
export declare function buildRemarkPlugins(options?: PipelineOptions): PluggableList;
|
|
2135
2215
|
/**
|
|
2136
2216
|
* Both halves from one options object.
|
|
2137
2217
|
*
|
|
@@ -2257,41 +2337,6 @@ type Schema = typeof defaultSchema;
|
|
|
2257
2337
|
*/
|
|
2258
2338
|
export declare const sanitizeSchema: Schema;
|
|
2259
2339
|
//#endregion
|
|
2260
|
-
//#region src/renderMermaidBlocks.d.ts
|
|
2261
|
-
/**
|
|
2262
|
-
* Client-side utility to find and render mermaid code blocks in a container.
|
|
2263
|
-
*
|
|
2264
|
-
* After calling `renderMarkdown()`, mermaid blocks come through as
|
|
2265
|
-
* `<pre><code class="language-mermaid">...</code></pre>`. This function
|
|
2266
|
-
* finds those blocks and replaces them with rendered SVG diagrams.
|
|
2267
|
-
*
|
|
2268
|
-
* Framework-agnostic — works in any browser environment.
|
|
2269
|
-
*/
|
|
2270
|
-
interface RenderMermaidOptions {
|
|
2271
|
-
/** CSS class to add to the SVG wrapper div (default: "mermaid") */
|
|
2272
|
-
className?: string;
|
|
2273
|
-
/** Called when a diagram fails to render */
|
|
2274
|
-
onError?: (code: string, error: Error) => void;
|
|
2275
|
-
}
|
|
2276
|
-
/**
|
|
2277
|
-
* Find all `<pre><code class="language-mermaid">` blocks in a container
|
|
2278
|
-
* and replace them with rendered SVG diagrams.
|
|
2279
|
-
*
|
|
2280
|
-
* @param container - DOM element containing rendered markdown HTML
|
|
2281
|
-
* @param options - Optional configuration
|
|
2282
|
-
* @returns Promise that resolves when all diagrams are rendered
|
|
2283
|
-
*
|
|
2284
|
-
* @example
|
|
2285
|
-
* ```ts
|
|
2286
|
-
* import { renderMarkdown, renderMermaidBlocks } from "vantage-md";
|
|
2287
|
-
*
|
|
2288
|
-
* const { html } = await renderMarkdown(content);
|
|
2289
|
-
* container.innerHTML = html;
|
|
2290
|
-
* await renderMermaidBlocks(container);
|
|
2291
|
-
* ```
|
|
2292
|
-
*/
|
|
2293
|
-
export declare function renderMermaidBlocks(container: HTMLElement, options?: RenderMermaidOptions): Promise<void>;
|
|
2294
|
-
//#endregion
|
|
2295
2340
|
//#region src/resolveLinks.d.ts
|
|
2296
2341
|
/**
|
|
2297
2342
|
* Rewrite relative links in rendered markdown HTML.
|
package/dist/react.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.cts","names":[],"sources":["../src/MarkdownViewer.tsx","../src/useLineAnchor.ts","../src/MermaidDiagram.tsx","../src/FrontmatterDisplay.tsx","../src/vantageDirectives.ts","../src/vantageFrontmatter.ts","../src/DocumentStatusChip.tsx","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../src/renderMarkdown.ts","../../../node_modules/@types/hast/index.d.ts","../src/rehypeSourceLines.ts","../src/
|
|
1
|
+
{"version":3,"file":"react.d.cts","names":[],"sources":["../src/MarkdownViewer.tsx","../src/useLineAnchor.ts","../src/MermaidDiagram.tsx","../src/renderMermaidBlocks.ts","../src/FrontmatterDisplay.tsx","../src/vantageDirectives.ts","../src/vantageFrontmatter.ts","../src/DocumentStatusChip.tsx","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../src/renderMarkdown.ts","../../../node_modules/@types/hast/index.d.ts","../src/rehypeSourceLines.ts","../src/remarkPlugins.ts","../src/pipeline.ts","../src/scrollToLineAnchor.ts","../src/lineAnchor.ts","../src/frontmatter.ts","../src/sanitize.ts","../src/resolveLinks.ts"],"x_google_ignoreList":[8,9,11],"mappings":";;;;UAkBiB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,cAAc;;qBAiNH,gBAAc,MAAA,qBAAA;;;;;;;;;;;;;;wBChOX,cACd,cAAc,UAAU,qBACxB;;;;;UC0SQ;EACR;;qBA+PW,gBAAc,MAAA,qBAAA;;;;;;;;;;;;;;;;UCtiBV;;EAEf;;EAEA,WAAW,cAAc,OAAO;;;;;;;;;;;;;;;;;;;wBAoBZ,oBACpB,WAAW,aACX,UAAS,uBACR;;;;;;;;;;;wBA0Ga,cAAc;;;;;;;;;;;;;;;;;wBA6Bd,iBACd,cACA,iBACC;;;UCnKO;EACR,aAAa;;;;;;;;;;;EAWb;;qBAgLW,oBAAkB,MAAA,qBAAA;;;;;;;;;;cCvFlB;;;;;;;;;;;;;;qBC5FA;KAOD,oBAAoB;;qBAGnB;;;;;;;;;;qBAWA,kBAAkB,SAC7B,OAAO,mBAAmB;;;;;;;;KAehB;EACN;EAAqB;;EACrB;EAAqB;;EACrB;EAAmB;EAAa;EAAgB;;EAChD;EAA4B;;EAC5B;EAA+B,MAAM;EAAW;;UAErC;;EAEf,aAAa;;EAEb,QAAQ;;;wBAWM,YAAY,iBAAiB,SAAS;;;;;;;wBAsBtC,uBACd,aAAa,0BACZ;;;qBCjFU,oBAAkB,MAAA;EAZmB,QAAA;;;;;;;;;;;;;;;;;;;;;;;;UCHjC;;;;UAKA;;;;EAIb;;;;EAKA;;;;EAIA;;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mBoB,eACpB,iBACA,UAAS,gBACR,QAAQ;;;;;;;;;;;;;;;;;;;;;;UCtDM,aAAa;;;;UAKb;EACb;EACA,QAAQ;EACR;EACA,SAAS;EACT,gBAAgB;EAChB,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA,kBAAkB;EAClB;EACA;EACA,iBAAiB;EACjB;EACA;EACA,aAAa;EACb;EACA;EACA;EACA;EACA;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA,sBAAsB;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf,SAAS;EACT;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,cAAc;EACd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,KAAK;EACL,KAAK;EACL,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX,UAAU;EACV;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,oBAAoB;EACpB;EACA;EACA;EACA;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;EACA;EACA,qBAAqB;EACrB,mBAAmB;EACnB,gBAAgB;EAChB,kBAAkB;EAClB;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;EAClB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GACC,sEAAsE;;;;;;;;;KAW/D,iBAAiB,wBAAwB;;;;;;UAOpC;EACb,SAAS;EACT,SAAS;EACT,MAAM;;;;;;;;KASE,cAAc,qBAAqB;;;;;;;;;UAU9B;EACb,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;;;;;;;;;;;;;;;;UAsDO,aAAa;;;;EAI1B,OA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
|
43
43
|
export declare const MermaidDiagram: React.NamedExoticComponent<MermaidDiagramProps>;
|
|
44
44
|
//#endregion
|
|
45
|
+
//#region src/renderMermaidBlocks.d.ts
|
|
46
|
+
/**
|
|
47
|
+
* Client-side utility to find and render mermaid code blocks in a container.
|
|
48
|
+
*
|
|
49
|
+
* After calling `renderMarkdown()`, mermaid blocks come through as
|
|
50
|
+
* `<pre><code class="language-mermaid">...</code></pre>`. This function
|
|
51
|
+
* finds those blocks and replaces them with rendered SVG diagrams.
|
|
52
|
+
*
|
|
53
|
+
* It also draws diagrams ahead of a render: `mermaidFences` reads them out of
|
|
54
|
+
* Markdown and `prerenderMermaid` puts each in the SVG cache, where the React
|
|
55
|
+
* `MermaidDiagram` finds it on mount.
|
|
56
|
+
*
|
|
57
|
+
* Framework-agnostic — works in any browser environment.
|
|
58
|
+
*/
|
|
59
|
+
interface RenderMermaidOptions {
|
|
60
|
+
/** CSS class to add to the SVG wrapper div (default: "mermaid") */
|
|
61
|
+
className?: string;
|
|
62
|
+
/** Called when a diagram fails to render */
|
|
63
|
+
onError?: (code: string, error: Error) => void;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Find all `<pre><code class="language-mermaid">` blocks in a container
|
|
67
|
+
* and replace them with rendered SVG diagrams.
|
|
68
|
+
*
|
|
69
|
+
* @param container - DOM element containing rendered markdown HTML
|
|
70
|
+
* @param options - Optional configuration
|
|
71
|
+
* @returns Promise that resolves when all diagrams are rendered
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* import { renderMarkdown, renderMermaidBlocks } from "vantage-md";
|
|
76
|
+
*
|
|
77
|
+
* const { html } = await renderMarkdown(content);
|
|
78
|
+
* container.innerHTML = html;
|
|
79
|
+
* await renderMermaidBlocks(container);
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare function renderMermaidBlocks(container: HTMLElement, options?: RenderMermaidOptions): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* The code of every Mermaid fence in `markdown`, in source order, exactly as
|
|
85
|
+
* a viewer's `MermaidDiagram` receives it: the fence's content, without its
|
|
86
|
+
* container's indentation or its closing newline.
|
|
87
|
+
*
|
|
88
|
+
* A fence is a diagram when its info string's first word begins with the word
|
|
89
|
+
* `mermaid`, which is the test the viewer applies to the `language-…` class
|
|
90
|
+
* the fence renders with (`/language-(\w+)/`). Text that never says
|
|
91
|
+
* `mermaid` is not parsed at all.
|
|
92
|
+
*/
|
|
93
|
+
export declare function mermaidFences(markdown: string): string[];
|
|
94
|
+
/**
|
|
95
|
+
* Draw one diagram into the SVG cache that `MermaidDiagram` reads when it
|
|
96
|
+
* mounts, so a diagram rendered after this has settled is drawn at its full
|
|
97
|
+
* size on its first paint instead of growing into place once Mermaid answers.
|
|
98
|
+
* The planning page draws every diagram of the cards it is about to show this
|
|
99
|
+
* way, before it commits them.
|
|
100
|
+
*
|
|
101
|
+
* Mermaid is loaded through `getMermaid`, so the drawing is configured, and
|
|
102
|
+
* made safe, exactly as every other diagram of the page is. `theme` is the
|
|
103
|
+
* palette key (`currentMermaidPalette`) to draw for; when the page has moved
|
|
104
|
+
* to another palette by the time Mermaid is ready, nothing is cached, since
|
|
105
|
+
* Mermaid now draws for the page's palette and not for `theme`.
|
|
106
|
+
*
|
|
107
|
+
* Resolves once the diagram is in the cache, at once when it already was, and
|
|
108
|
+
* rejects when Mermaid cannot draw it.
|
|
109
|
+
*/
|
|
110
|
+
export declare function prerenderMermaid(code: string, theme?: string): Promise<void>;
|
|
111
|
+
//#endregion
|
|
45
112
|
//#region src/FrontmatterDisplay.d.ts
|
|
46
113
|
interface FrontmatterDisplayProps {
|
|
47
114
|
frontmatter: Record<string, unknown>;
|
|
115
|
+
/**
|
|
116
|
+
* The Open Question ids this document's own questions carry. When given, a
|
|
117
|
+
* bare `OQ-…` id in the top-level `next` value that is one of them links to
|
|
118
|
+
* that question (`#OQ-…`); every other word of `next` stays plain text.
|
|
119
|
+
*
|
|
120
|
+
* Only ids a question carries, never every id in the text: a compacted id
|
|
121
|
+
* kept in a Decision Ledger names no question, and linking it would land on
|
|
122
|
+
* nothing. Omit it where no planning index is known, and `next` renders
|
|
123
|
+
* exactly as every other value does.
|
|
124
|
+
*/
|
|
125
|
+
linkIds?: readonly string[];
|
|
48
126
|
}
|
|
49
127
|
export declare const FrontmatterDisplay: React.NamedExoticComponent<FrontmatterDisplayProps>;
|
|
50
128
|
//#endregion
|
|
@@ -2101,6 +2179,15 @@ interface RehypeSourceLinesOptions {
|
|
|
2101
2179
|
}
|
|
2102
2180
|
declare const rehypeSourceLines: Plugin<[RehypeSourceLinesOptions?], Root>;
|
|
2103
2181
|
//#endregion
|
|
2182
|
+
//#region src/remarkPlugins.d.ts
|
|
2183
|
+
/**
|
|
2184
|
+
* The mdast half of the chain. Exported on its own because there is a real
|
|
2185
|
+
* mdast-only consumer: the CLI checker parses documents without ever running
|
|
2186
|
+
* rehype (`packages/vantage-check/src/core/document.ts`), and it has to parse
|
|
2187
|
+
* them exactly the way the viewer does.
|
|
2188
|
+
*/
|
|
2189
|
+
export declare function buildRemarkPlugins(options?: PipelineOptions): PluggableList;
|
|
2190
|
+
//#endregion
|
|
2104
2191
|
//#region src/pipeline.d.ts
|
|
2105
2192
|
interface PipelineOptions {
|
|
2106
2193
|
/** GFM tables, strikethrough, task lists (default: true) */
|
|
@@ -2125,13 +2212,6 @@ interface Pipeline {
|
|
|
2125
2212
|
remarkPlugins: PluggableList;
|
|
2126
2213
|
rehypePlugins: PluggableList;
|
|
2127
2214
|
}
|
|
2128
|
-
/**
|
|
2129
|
-
* The mdast half of the chain. Exported on its own because there is a real
|
|
2130
|
-
* mdast-only consumer: the CLI checker parses documents without ever running
|
|
2131
|
-
* rehype (`packages/vantage-check/src/core/document.ts`), and it has to parse
|
|
2132
|
-
* them exactly the way the viewer does.
|
|
2133
|
-
*/
|
|
2134
|
-
export declare function buildRemarkPlugins(options?: PipelineOptions): PluggableList;
|
|
2135
2215
|
/**
|
|
2136
2216
|
* Both halves from one options object.
|
|
2137
2217
|
*
|
|
@@ -2257,41 +2337,6 @@ type Schema = typeof defaultSchema;
|
|
|
2257
2337
|
*/
|
|
2258
2338
|
export declare const sanitizeSchema: Schema;
|
|
2259
2339
|
//#endregion
|
|
2260
|
-
//#region src/renderMermaidBlocks.d.ts
|
|
2261
|
-
/**
|
|
2262
|
-
* Client-side utility to find and render mermaid code blocks in a container.
|
|
2263
|
-
*
|
|
2264
|
-
* After calling `renderMarkdown()`, mermaid blocks come through as
|
|
2265
|
-
* `<pre><code class="language-mermaid">...</code></pre>`. This function
|
|
2266
|
-
* finds those blocks and replaces them with rendered SVG diagrams.
|
|
2267
|
-
*
|
|
2268
|
-
* Framework-agnostic — works in any browser environment.
|
|
2269
|
-
*/
|
|
2270
|
-
interface RenderMermaidOptions {
|
|
2271
|
-
/** CSS class to add to the SVG wrapper div (default: "mermaid") */
|
|
2272
|
-
className?: string;
|
|
2273
|
-
/** Called when a diagram fails to render */
|
|
2274
|
-
onError?: (code: string, error: Error) => void;
|
|
2275
|
-
}
|
|
2276
|
-
/**
|
|
2277
|
-
* Find all `<pre><code class="language-mermaid">` blocks in a container
|
|
2278
|
-
* and replace them with rendered SVG diagrams.
|
|
2279
|
-
*
|
|
2280
|
-
* @param container - DOM element containing rendered markdown HTML
|
|
2281
|
-
* @param options - Optional configuration
|
|
2282
|
-
* @returns Promise that resolves when all diagrams are rendered
|
|
2283
|
-
*
|
|
2284
|
-
* @example
|
|
2285
|
-
* ```ts
|
|
2286
|
-
* import { renderMarkdown, renderMermaidBlocks } from "vantage-md";
|
|
2287
|
-
*
|
|
2288
|
-
* const { html } = await renderMarkdown(content);
|
|
2289
|
-
* container.innerHTML = html;
|
|
2290
|
-
* await renderMermaidBlocks(container);
|
|
2291
|
-
* ```
|
|
2292
|
-
*/
|
|
2293
|
-
export declare function renderMermaidBlocks(container: HTMLElement, options?: RenderMermaidOptions): Promise<void>;
|
|
2294
|
-
//#endregion
|
|
2295
2340
|
//#region src/resolveLinks.d.ts
|
|
2296
2341
|
/**
|
|
2297
2342
|
* Rewrite relative links in rendered markdown HTML.
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","names":[],"sources":["../src/MarkdownViewer.tsx","../src/useLineAnchor.ts","../src/MermaidDiagram.tsx","../src/FrontmatterDisplay.tsx","../src/vantageDirectives.ts","../src/vantageFrontmatter.ts","../src/DocumentStatusChip.tsx","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../src/renderMarkdown.ts","../../../node_modules/@types/hast/index.d.ts","../src/rehypeSourceLines.ts","../src/
|
|
1
|
+
{"version":3,"file":"react.d.ts","names":[],"sources":["../src/MarkdownViewer.tsx","../src/useLineAnchor.ts","../src/MermaidDiagram.tsx","../src/renderMermaidBlocks.ts","../src/FrontmatterDisplay.tsx","../src/vantageDirectives.ts","../src/vantageFrontmatter.ts","../src/DocumentStatusChip.tsx","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../src/renderMarkdown.ts","../../../node_modules/@types/hast/index.d.ts","../src/rehypeSourceLines.ts","../src/remarkPlugins.ts","../src/pipeline.ts","../src/scrollToLineAnchor.ts","../src/lineAnchor.ts","../src/frontmatter.ts","../src/sanitize.ts","../src/resolveLinks.ts"],"x_google_ignoreList":[8,9,11],"mappings":";;;;UAkBiB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,cAAc;;qBAiNH,gBAAc,MAAA,qBAAA;;;;;;;;;;;;;;wBChOX,cACd,cAAc,UAAU,qBACxB;;;;;UC0SQ;EACR;;qBA+PW,gBAAc,MAAA,qBAAA;;;;;;;;;;;;;;;;UCtiBV;;EAEf;;EAEA,WAAW,cAAc,OAAO;;;;;;;;;;;;;;;;;;;wBAoBZ,oBACpB,WAAW,aACX,UAAS,uBACR;;;;;;;;;;;wBA0Ga,cAAc;;;;;;;;;;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IR,UAAU;;;;EAIV,OAAO;;;;;UAMM,kBAAkB;;;;UAKlB,iBAAiB;;;;EAI9B;;;;EAIA,UAAU;;;;EAIV,OAAO;;;;;UAMM,qBAAqB;;;;UAKrB,kBAAkB;;;;EAI/B;;;;EAIA,UAAU;;;;EAIV,OAAO;;;;;UAMM,sBAAsB;;;;UAKtB,eAAa;;;;EAI1B;;;;EAIA,OAAO;;;;;UAMM,mBAAiB;;;;UAKjB,sBAAsB;;;;EAInC;;;;EAIA,OAAO;;;;;UAMM,0BAA0B;;;;UAK1B,aAAa;;;;EAI1B;;;;EAIA,OAAO;;;;;UAMM,iBAAiB;;;UC5kCjB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;;;;;;;EAmBA,OAAO;;UAGQ;;EAEf;;EAEA,aAAa;;EAEb;;;;;;;;;;;;;;;;;;wBAmBoB,eACpB,iBACA,UAAS,gBACR,QAAQ;;;;;;;;;;;;;;;;;;;;;;UCtDM,aAAa;;;;UAKb;EACb;EACA,QAAQ;EACR;EACA,SAAS;EACT,gBAAgB;EAChB,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA,kBAAkB;EAClB;EACA;EACA,iBAAiB;EACjB;EACA;EACA,aAAa;EACb;EACA;EACA;EACA;EACA;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA,sBAAsB;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf,SAAS;EACT;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,cAAc;EACd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,KAAK;EACL,KAAK;EACL,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX,UAAU;EACV;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,oBAAoB;EACpB;EACA;EACA;EACA;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;EACA;EACA,qBAAqB;EACrB,mBAAmB;EACnB,gBAAgB;EAChB,kBAAkB;EAClB;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;EAClB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA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