reactive-md 0.5.2 → 0.6.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-ch.md +47 -15
- package/CHANGELOG.md +47 -15
- package/CONTRIBUTING-ch.md +10 -5
- package/CONTRIBUTING.md +10 -5
- package/README-ch.md +38 -36
- package/README-en.md +45 -42
- package/README.md +45 -42
- package/SECURITY-ch.md +1 -1
- package/SECURITY.md +1 -1
- package/THIRD_PARTY_NOTICES.md +481 -1
- package/cli/build.mjs +1 -1
- package/cli/package.mjs +1 -0
- package/dist-library/authoring-DSC0VsNK.js +842 -0
- package/dist-library/{runtime-UiQPz5ZV.js → compiler-CRD88BMt.js} +8944 -5847
- package/dist-library/react-Dk94rcOp.js +59658 -0
- package/dist-library/reactive-md-authoring.js +1514 -0
- package/dist-library/reactive-md-editor.js +589 -570
- package/dist-library/reactive-md-print.css +284 -0
- package/dist-library/reactive-md-react-unstyled.js +1 -0
- package/dist-library/reactive-md-react.js +1 -13208
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +308 -1126
- package/dist-library/runtime-D8KbnCd0.js +498 -0
- package/dist-library/types/authoring/index.d.ts +24 -0
- package/dist-library/types/editor/command-types.d.ts +10 -0
- package/dist-library/types/editor/editor-commands.d.ts +2 -2
- package/dist-library/types/editor/editor-i18n.d.ts +1 -1
- package/dist-library/types/editor/native-components.d.ts +1 -1
- package/dist-library/types/editor/source-authoring.d.ts +5 -3
- package/dist-library/types/editor/types.d.ts +7 -10
- package/dist-library/types/local/LocalDocumentView.d.ts +4 -2
- package/dist-library/types/local/authoring.d.ts +9 -5
- package/dist-library/types/local/code-block.d.ts +3 -1
- package/dist-library/types/local/code-languages.d.ts +7 -0
- package/dist-library/types/local/compiled-data.d.ts +6 -0
- package/dist-library/types/local/compiler.d.ts +1 -0
- package/dist-library/types/local/diagnostics.d.ts +71 -0
- package/dist-library/types/local/diagram-layout.d.ts +69 -0
- package/dist-library/types/local/html-names.d.ts +6 -0
- package/dist-library/types/local/html-table.d.ts +25 -0
- package/dist-library/types/local/index.d.ts +1 -0
- package/dist-library/types/local/math-display.d.ts +73 -0
- package/dist-library/types/local/math-view.d.ts +2 -0
- package/dist-library/types/local/options.d.ts +3 -1
- package/dist-library/types/local/table-surface.d.ts +10 -0
- package/dist-library/types/local/types.d.ts +12 -0
- package/dist-library/types/local/visuals.d.ts +9 -0
- package/dist-library/types/local/worker.d.ts +3 -2
- package/dist-library/types/react/index.d.ts +1 -1
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +79 -51
- package/docs/README.md +84 -0
- package/docs/{compatibility-ch.md → compatibility/compatibility-ch.md} +28 -18
- package/docs/{compatibility-en.md → compatibility/compatibility-en.md} +28 -18
- package/docs/{source-versioning-ch.md → compatibility/source-versioning-ch.md} +2 -2
- package/docs/{source-versioning-en.md → compatibility/source-versioning-en.md} +2 -2
- package/docs/{component-development-ch.md → development/component-development-ch.md} +7 -7
- package/docs/{component-development-en.md → development/component-development-en.md} +7 -7
- package/docs/{component-protocol-ch.md → development/component-protocol-ch.md} +17 -17
- package/docs/{component-protocol-en.md → development/component-protocol-en.md} +17 -17
- package/docs/{performance-ch.md → development/performance-ch.md} +2 -2
- package/docs/{performance-en.md → development/performance-en.md} +2 -2
- package/docs/{releasing-ch.md → development/releasing-ch.md} +12 -12
- package/docs/{releasing-en.md → development/releasing-en.md} +12 -12
- package/docs/guides/local-guide-ch.md +513 -0
- package/docs/guides/local-guide-en.md +513 -0
- package/docs/{author-tools-ch.md → integration/author-tools-ch.md} +13 -7
- package/docs/{author-tools-en.md → integration/author-tools-en.md} +13 -7
- package/docs/{editor-ch.md → integration/editor-ch.md} +238 -235
- package/docs/{editor-en.md → integration/editor-en.md} +238 -235
- package/docs/{local-integration-ch.md → integration/local-integration-ch.md} +410 -390
- package/docs/{local-integration-en.md → integration/local-integration-en.md} +410 -390
- package/docs/{shareable-export-ch.md → integration/shareable-export-ch.md} +16 -4
- package/docs/{shareable-export-en.md → integration/shareable-export-en.md} +16 -4
- package/docs/{computations-formatting-ch.md → reference/computations-formatting-ch.md} +2 -2
- package/docs/{computations-formatting-en.md → reference/computations-formatting-en.md} +2 -2
- package/docs/{constraints-collections-ch.md → reference/constraints-collections-ch.md} +2 -2
- package/docs/{constraints-collections-en.md → reference/constraints-collections-en.md} +2 -2
- package/docs/{diagnostics-counting-ch.md → reference/diagnostics-counting-ch.md} +22 -2
- package/docs/{diagnostics-counting-en.md → reference/diagnostics-counting-en.md} +22 -2
- package/docs/{html-compatibility-ch.md → reference/html-compatibility-ch.md} +42 -4
- package/docs/{html-compatibility-en.md → reference/html-compatibility-en.md} +42 -4
- package/docs/{local-components-v2-ch.md → reference/local-components-v2-ch.md} +2 -2
- package/docs/{local-components-v2-en.md → reference/local-components-v2-en.md} +2 -2
- package/docs/{local-interaction-syntax-ch.md → reference/local-interaction-syntax-ch.md} +26 -7
- package/docs/{local-interaction-syntax-en.md → reference/local-interaction-syntax-en.md} +26 -7
- package/docs/{theme-protocol-ch.md → reference/theme-protocol-ch.md} +1 -1
- package/docs/{theme-protocol-en.md → reference/theme-protocol-en.md} +1 -1
- package/docs/{release-0.4.0-ch.md → releases/release-0.4.0-ch.md} +6 -6
- package/docs/{release-0.4.0-en.md → releases/release-0.4.0-en.md} +6 -6
- package/docs/{release-0.4.1-ch.md → releases/release-0.4.1-ch.md} +2 -2
- package/docs/{release-0.4.1-en.md → releases/release-0.4.1-en.md} +2 -2
- package/docs/{release-0.5.0-ch.md → releases/release-0.5.0-ch.md} +4 -4
- package/docs/{release-0.5.0-en.md → releases/release-0.5.0-en.md} +4 -4
- package/docs/{release-0.5.1-ch.md → releases/release-0.5.1-ch.md} +4 -4
- package/docs/{release-0.5.1-en.md → releases/release-0.5.1-en.md} +4 -4
- package/docs/{release-0.5.2-ch.md → releases/release-0.5.2-ch.md} +3 -3
- package/docs/{release-0.5.2-en.md → releases/release-0.5.2-en.md} +3 -3
- package/docs/releases/release-0.5.3-ch.md +25 -0
- package/docs/releases/release-0.5.3-en.md +25 -0
- package/docs/releases/release-0.6.0-ch.md +57 -0
- package/docs/releases/release-0.6.0-en.md +57 -0
- package/examples/conformance/README.md +4 -4
- package/examples/integration/README.md +10 -8
- package/examples/integration/worker/package.json +1 -1
- package/examples/local/README.md +5 -5
- package/examples/local/html-compat.reactive.md +19 -0
- package/package.json +20 -3
- package/docs/local-guide-ch.md +0 -967
- package/docs/local-guide-en.md +0 -967
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Reactive MD local interaction syntax specification
|
|
2
2
|
|
|
3
|
-
Syntax identifier: `local-draft-2`, 2026-10-23. If this is your first time with the syntax, read the [beginner guide](local-guide-en.md) first; this document is the complete specification. Hosts select local interaction mode through `compileLocal` and `LocalReactiveDocument`, see [integration notes](local-integration-en.md). See [Versions and compatibility](compatibility-en.md) for package version relationships, 0.x compatibility rules and migration, [Source revisions and migration](source-versioning-en.md) for the optional revision directive and `reactive-md migrate`, and [0.4.0 release and migration](release-0.4.0-en.md) for the upgrade from `0.3.1` / `local-draft-1`. Complete examples are in the [example index](
|
|
3
|
+
Syntax identifier: `local-draft-2`, 2026-10-23. If this is your first time with the syntax, read the [beginner guide](../guides/local-guide-en.md) first; this document is the complete specification. Hosts select local interaction mode through `compileLocal` and `LocalReactiveDocument`, see [integration notes](../integration/local-integration-en.md). See [Versions and compatibility](../compatibility/compatibility-en.md) for package version relationships, 0.x compatibility rules and migration, [Source revisions and migration](../compatibility/source-versioning-en.md) for the optional revision directive and `reactive-md migrate`, and [0.4.0 release and migration](../releases/release-0.4.0-en.md) for the upgrade from `0.3.1` / `local-draft-1`. Complete examples are in the [example index](../../examples/local/README.md).
|
|
4
4
|
|
|
5
5
|
## 1. Positioning and scope
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ The base language requires only two connection rules: `bind` names an input, and
|
|
|
16
16
|
|
|
17
17
|
This draft does not include external service calls, form submission, asynchronous resources, named actions, event handlers, programmable collection edits, general loop templates or arbitrary scripts. Legacy `state/data/computed/actions` configuration blocks are not part of the new syntax. Expressions can produce string or numeric arrays; checklist and multi-select components produce string arrays. Tables can use prose Markdown or bounded local row generation through `data-table`.
|
|
18
18
|
|
|
19
|
-
By default a document only keeps in-memory state for the current instance. Reopening starts from initial values; persistence is not part of the author syntax. No language version declaration, component import or YAML is required. A document may optionally declare its revision with one `<!-- reactive-md: local-draft-2 -->` line in the prologue, before the theme and body; unversioned documents use the current revision. See [Source revisions and migration](source-versioning-en.md). Hosts should explicitly select draft parsing mode and must not guess by mixing old and new syntax.
|
|
19
|
+
By default a document only keeps in-memory state for the current instance. Reopening starts from initial values; persistence is not part of the author syntax. No language version declaration, component import or YAML is required. A document may optionally declare its revision with one `<!-- reactive-md: local-draft-2 -->` line in the prologue, before the theme and body; unversioned documents use the current revision. See [Source revisions and migration](../compatibility/source-versioning-en.md). Hosts should explicitly select draft parsing mode and must not guess by mixing old and new syntax.
|
|
20
20
|
|
|
21
21
|
Documents may select a theme with `<theme name="default">` before the body; omission uses `default`. This is static metadata, not a component. Custom themes must be registered by the host and support both color schemes; see the [theme protocol](theme-protocol-en.md).
|
|
22
22
|
|
|
@@ -43,6 +43,8 @@ When no cross-component linkage is needed, omit `bind`, for example `<counter la
|
|
|
43
43
|
|
|
44
44
|
Headings, paragraphs, emphasis, links, images, quotes, lists, plain tables, inline code and code fences continue to use Markdown. Component tags may sit in a paragraph or a standalone block, depending on component type. Container contents continue to parse as Markdown; authors do not need to add a `markdown` attribute.
|
|
45
45
|
|
|
46
|
+
Code fences highlight common programming languages plus `latex` / `tex`, `cattca`, `mermaid`, `jinja` / `jinja2`, `dockerfile` / `docker` and `vue`. Vue single-file components highlight templates, JavaScript / TypeScript and CSS / SCSS separately; Cattca highlights Markdown narrative and command blocks. Mermaid fences display highlighted source. Unlabeled code is detected within a bounded set of common languages, with the detected language shown in the toolbar. Blocks without sufficient detection evidence stay plain. Use `text`, `txt`, `plaintext` or `nohighlight` to request plain text explicitly. Unknown languages and blocks longer than 20,000 characters preserve the original text. Highlighting and copying retain source whitespace.
|
|
47
|
+
|
|
46
48
|
Block component start and end tags each occupy a line. Attributes in a start tag may span multiple lines. A `>` inside a tag ends the tag only when it is outside quotes. Indentation is only for readability: container content is dedented by the common indentation and then parsed as Markdown; indentation inside code fences is preserved.
|
|
47
49
|
|
|
48
50
|
The inline components `badge`, `tooltip`, `jump` and `text` can be embedded in sentences. Other components are block components; `option`, `tab`, `disclosure`, `node`, `edge` and `step` are child components restricted to specific parent containers.
|
|
@@ -268,7 +270,7 @@ When if's when is false, content is not displayed, but internal parameters are s
|
|
|
268
270
|
|
|
269
271
|
`jump.to` and `anchor.id` match heading slugs or explicit IDs. Duplicate anchors, heading collisions and missing targets are compile errors. `quiz` answers are supplied in source for self-study; drafts and feedback stay inside the component and panel reset clears them. `steps` keeps inactive step content initialized and preserves its state; hidden timers pause. See [local-draft-2 components and migration](local-components-v2-en.md) for color validation and slot details.
|
|
270
272
|
|
|
271
|
-
Base layout uses Markdown; images use ``, links use `[text](address)`, and horizontal rules use `---`. Images load only after the host explicitly allows them through a URL policy; by default no image requests are made. See [Image and link policy](local-integration-en.md#image-and-link-policy) for integration. This draft does not provide author tags for row, stack, spacer, icon, image or link-button, and does not expose class/style.
|
|
273
|
+
Base layout uses Markdown; images use ``, links use `[text](../address)`, and horizontal rules use `---`. Images load only after the host explicitly allows them through a URL policy; by default no image requests are made. See [Image and link policy](../integration/local-integration-en.md#image-and-link-policy) for integration. This draft does not provide author tags for row, stack, spacer, icon, image or link-button, and does not expose class/style.
|
|
272
274
|
|
|
273
275
|
## 8. Checklists
|
|
274
276
|
|
|
@@ -293,7 +295,9 @@ progress is a void component; label/value are required, max defaults to 100, and
|
|
|
293
295
|
|
|
294
296
|
### 9.1 Shared data rules
|
|
295
297
|
|
|
296
|
-
The
|
|
298
|
+
The ReactiveMD table, chart and timeline components each contain one Markdown table. Headers are non-empty and unique, and every row has the same number of columns; cells may contain interpolation. The first column is usually a label, and other columns read types according to the component.
|
|
299
|
+
|
|
300
|
+
`<table>` also accepts a native HTML table body. Body structure selects the syntax; both share the rendering styles. HTML tables support merged cells and add no table interactions by default. See [HTML table compatibility](html-compatibility-en.md#two-table-syntaxes).
|
|
297
301
|
|
|
298
302
|
Plain text cells display Markdown; plain decimal or scientific-notation text cells can be read as numbers, and a single complete interpolation keeps its result type. Mixed text such as `{{ price }} USD` is a display string and cannot be used as a numeric chart column. Legend labels take the plain text of headers.
|
|
299
303
|
|
|
@@ -346,7 +350,22 @@ timeline supports optional title and unit (display text, default "minutes"), and
|
|
|
346
350
|
|
|
347
351
|
### 10.1 Display and plotting
|
|
348
352
|
|
|
349
|
-
Prose `$...$`
|
|
353
|
+
Prose accepts `$...$` or `\(...\)` for inline math, and `$$...$$` or `\[...\]` for display formulas. Dollar-delimited inline math pairs on the same line and permits leading or trailing whitespace, as in `$ x $`, `$x $` and `$ x$`. Its content must include a non-whitespace character. Currency text such as `$5 and $10` stays literal; use `\$` for an explicit literal dollar sign. Backslash-delimited formulas may contain whitespace and span lines. For example, write `\(\frac{a}{b}\)` in a sentence or `\[x^2 + 1\]` as a display formula. Unclosed math delimiters are errors; an unmatched single dollar sign stays literal. Code, comments and Markdown destinations keep these delimiters literal; escape the opening backslash or use code to show an example in prose.
|
|
354
|
+
|
|
355
|
+
Standalone formulas are for layout and create no state or functions. Each `$$...$$` block inside a plot container defines one curve; the math content keeps normal LaTeX syntax and does not need `{{ }}`. Plot accepts only `$$...$$`, not `\(...\)` or `\[...\]`.
|
|
356
|
+
|
|
357
|
+
Display supports the `cases`, `aligned`, `align`, `align*`, `pmatrix`, `bmatrix` and `vmatrix` environments. Use `&` for columns and `\\` for rows. Alignment environments alternate right and left column alignment; matrices center their cells and show the corresponding delimiters. Both `align` and `aligned` belong inside math delimiters. Add explicit equation labels with `\tag{1}`, or `\tag*{A}` to omit parentheses.
|
|
358
|
+
|
|
359
|
+
| Display content | Example commands |
|
|
360
|
+
| --- | --- |
|
|
361
|
+
| Alphabets and text | `\mathbb{R}`, `\mathcal{F}`, `\mathscr{L}`, `\mathfrak{g}`, `\textbf{bold text}` |
|
|
362
|
+
| Binomials, annotations and boxes | `\binom{n}{k}`, `\underbrace{a+b}_{n}`, `\overrightarrow{AB}`, `\underline{x}`, `\boxed{x}` |
|
|
363
|
+
| Above/below labels and labeled arrows | `\stackrel{!}{=}`, `\underset{x}{\lim}`, `\xrightarrow[below]{above}`, `\xrightleftharpoons[k_2]{k_1}` |
|
|
364
|
+
| Logic, relations and symbols | `\implies`, `\iff`, `\not\in`, `\cong`, `\mapsto`, `\mid`, `\ll`, `\oplus`, `\varnothing`, `\therefore`, `\because`, `\triangle`, `\circ`, `\dagger`, `\vdots`, `\ddots` |
|
|
365
|
+
| Arrows, delimiters and sizes | `\rightleftharpoons`, `\longrightarrow`, `\Longleftrightarrow`, `\downarrow`, `\lfloor`, `\rfloor`, `\lceil`, `\rceil`, `\bigl(`, `\bigr)`, `\Bigg(` |
|
|
366
|
+
| Functions and congruences | `\sec`, `\csc`, `\cot`, `\sinh`, `\cosh`, `\lg`, `\pmod{n}` |
|
|
367
|
+
|
|
368
|
+
Use mhchem notation for chemistry: `$\ce{H2O}$`, `$\ce{SO4^2-}$`, `$\ce{^{14}_{6}C}$`, `$$\ce{2 H2 + O2 -> 2 H2O}$$` or `$$\ce{A <=>[forward][reverse] B}$$`. Molecular subscripts, ionic charges, isotopes, coefficients, physical states, bonds and reaction arrows are converted by `mhchemparser` and rendered through the same MathML renderer. Unsupported conversion commands produce `local.math.display` diagnostics. All text is escaped, and converted output is bounded by source, token and nesting budgets. These forms are available for formula display; plotting computation supports the syntax listed below.
|
|
350
369
|
|
|
351
370
|
```markdown
|
|
352
371
|
<slider bind="a" label="Amplitude" initial="1" min="0" max="5">
|
|
@@ -482,7 +501,7 @@ Implementation acceptance must cover:
|
|
|
482
501
|
9. Chinese IME input, keyboard operation, accessible names and 375px narrow screens work.
|
|
483
502
|
10. Document instances are independent, disposal cleans up, and no unintended network actions occur; complex or excessive math input can be halted by the execution budget.
|
|
484
503
|
|
|
485
|
-
These rules cover compiler, runtime and browser acceptance. See the [example index](
|
|
504
|
+
These rules cover compiler, runtime and browser acceptance. See the [example index](../../examples/local/README.md) for example mappings and expected observations, and the [language conformance data](../../examples/conformance/README.md) for the machine-readable minimum acceptance set. Actual repository check records stay in the repository and are not part of the package.
|
|
486
505
|
|
|
487
506
|
|
|
488
|
-
See [local-draft-2 components and migration](local-components-v2-en.md) for new tags, colors and slot state, and [0.4.0 release and migration](release-0.4.0-en.md) for the upgrade checklist. `0.
|
|
507
|
+
See [local-draft-2 components and migration](local-components-v2-en.md) for new tags, colors and slot state, and [0.4.0 release and migration](../releases/release-0.4.0-en.md) for the upgrade checklist. `0.6.0` is available on both the `latest` and `next` channels.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Reactive MD theme protocol
|
|
2
2
|
|
|
3
|
-
Protocol revision: `reactive-md-theme-1`. This feature
|
|
3
|
+
Protocol revision: `reactive-md-theme-1`. This feature was introduced in `0.4.0` and remains available in `0.6.0` on both `latest` and `next`. The built-in `default` preserves the existing appearance.
|
|
4
4
|
|
|
5
5
|
## Selecting a theme
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
使用 `npm install reactive-md` 安装,或用 `npm install reactive-md@0.4.0` 固定版本。`latest` 和 `next` 均指向 `0.4.0`。
|
|
6
6
|
|
|
7
|
-
本文汇总 0.4.0 包含的能力、对现有文档和宿主的变化,以及从 `0.3.1` / `local-draft-1` 升级的步骤。具体规则仍以链接的参考页为准;本页是升级清单。显式修订声明和迁移工具见[源码修订与迁移](source-versioning-ch.md)。
|
|
7
|
+
本文汇总 0.4.0 包含的能力、对现有文档和宿主的变化,以及从 `0.3.1` / `local-draft-1` 升级的步骤。具体规则仍以链接的参考页为准;本页是升级清单。显式修订声明和迁移工具见[源码修订与迁移](../compatibility/source-versioning-ch.md)。
|
|
8
8
|
|
|
9
9
|
## 适合哪些项目
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
| 作者工具 | 高亮、补全、绑定定位、重命名、格式化及 `lint --locale en|zh` |
|
|
29
29
|
| 渲染 | 依赖感知的渲染,避免重算未受影响的文档子树 |
|
|
30
30
|
|
|
31
|
-
可运行示例见[示例索引](
|
|
31
|
+
可运行示例见[示例索引](../../examples/local/README.md),包括六个双语功能场景、账单示例和工作坊示例。全部可接受的标签名见[语法规范](../reference/local-interaction-syntax-ch.md#12-组件速查与语法裁剪)。
|
|
32
32
|
|
|
33
33
|
## 从 0.3.1 / local-draft-1 升级
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
`sum`、`average`、`minOf`、`maxOf`、`formatNumber`、`formatPercent`、`formatScientific`、`formatCurrency`、`trim`、`lower`、`upper`、`startsWith`、`endsWith`、`replace`、`slice`、`dateCompare`、`dateDiff`。
|
|
42
42
|
|
|
43
|
-
它们与原有保留名共同生效:数学与集合函数(`abs`、`sqrt`、`floor`、`ceil`、`round`、`min`、`max`、`pow`、`sin`、`cos`、`tan`、`asin`、`acos`、`atan`、`exp`、`log`、`len`、`contains`、`clamp`)、常量 `pi` 与 `e`、绘图名 `x` 与 `y`、字面量 `true`、`false`、`null`,以及 `__proto__`、`prototype`、`constructor`。详见[复用计算与格式化数值](computations-formatting-ch.md#兼容性)。
|
|
43
|
+
它们与原有保留名共同生效:数学与集合函数(`abs`、`sqrt`、`floor`、`ceil`、`round`、`min`、`max`、`pow`、`sin`、`cos`、`tan`、`asin`、`acos`、`atan`、`exp`、`log`、`len`、`contains`、`clamp`)、常量 `pi` 与 `e`、绘图名 `x` 与 `y`、字面量 `true`、`false`、`null`,以及 `__proto__`、`prototype`、`constructor`。详见[复用计算与格式化数值](../reference/computations-formatting-ch.md#兼容性)。
|
|
44
44
|
|
|
45
45
|
### 新增可识别标签名
|
|
46
46
|
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
6. 更新宿主对 `number-array`、`validate()`、槽位 API 和包含计算值的快照的处理。
|
|
79
79
|
7. 重新检查状态导入导出、参数保留和宿主内的 HTML 导出。迁移会改变源码摘要,应重新导出状态文件。
|
|
80
80
|
8. 检查可见变化:清单完成样式、表格/图表选择和主题 CSS。
|
|
81
|
-
9. 运行[发布验证入口](
|
|
81
|
+
9. 运行[发布验证入口](../../CONTRIBUTING-ch.md),并用自己的文档和浏览器检查复验。
|
|
82
82
|
|
|
83
83
|
## 验证范围
|
|
84
84
|
|
|
85
|
-
`0.4.0` 面向 Node.js 22.12 与 Node 24;CI 门禁使用 Playwright Chromium,本地检查使用 Microsoft Edge。`npm run verify:release` 是完整发布门禁:覆盖核心与 Demo 测试、类型、包与文档检查、仓库外真实 tarball 消费,以及计算、集合、作者工具、状态恢复、HTML 导出的浏览器检查和渲染等价检查。单项命令仍列在[贡献指南](
|
|
85
|
+
`0.4.0` 面向 Node.js 22.12 与 Node 24;CI 门禁使用 Playwright Chromium,本地检查使用 Microsoft Edge。`npm run verify:release` 是完整发布门禁:覆盖核心与 Demo 测试、类型、包与文档检查、仓库外真实 tarball 消费,以及计算、集合、作者工具、状态恢复、HTML 导出的浏览器检查和渲染等价检查。单项命令仍列在[贡献指南](../../CONTRIBUTING-ch.md)。
|
|
86
86
|
|
|
87
87
|
静态 SSR 由 packed 检查覆盖。单文件导出的静态首屏水合由 Playwright Chromium 和本地 Edge 检查覆盖。该路径之外的通用 SSR 水合、Firefox 与 Safari/WebKit 尚未验证,不作支持声明。
|
|
88
88
|
|
|
89
|
-
版本规则与诊断契约见[版本与兼容性](compatibility-ch.md),修订指令与迁移工具见[源码修订与迁移](source-versioning-ch.md),HTML 与状态格式见[可分享文档与静态导出](shareable-export-ch.md),组块新增见[local-draft-2 扩展说明](local-components-v2-ch.md)。
|
|
89
|
+
版本规则与诊断契约见[版本与兼容性](../compatibility/compatibility-ch.md),修订指令与迁移工具见[源码修订与迁移](../compatibility/source-versioning-ch.md),HTML 与状态格式见[可分享文档与静态导出](../integration/shareable-export-ch.md),组块新增见[local-draft-2 扩展说明](../reference/local-components-v2-ch.md)。
|
|
@@ -4,7 +4,7 @@ Status: 0.x preview available on both `latest` and `next`. Package version `0.4.
|
|
|
4
4
|
|
|
5
5
|
Install with `npm install reactive-md`, or pin it with `npm install reactive-md@0.4.0`. Both `latest` and `next` resolve to `0.4.0`.
|
|
6
6
|
|
|
7
|
-
This page summarizes what 0.4.0 contains, what changes for existing documents and hosts, and how to move from `0.3.1` / `local-draft-1`. Detailed rules remain in the linked reference pages; this page is the upgrade checklist. Explicit revision declarations and the migration tools are specified in [Source revisions and migration](source-versioning-en.md).
|
|
7
|
+
This page summarizes what 0.4.0 contains, what changes for existing documents and hosts, and how to move from `0.3.1` / `local-draft-1`. Detailed rules remain in the linked reference pages; this page is the upgrade checklist. Explicit revision declarations and the migration tools are specified in [Source revisions and migration](../compatibility/source-versioning-en.md).
|
|
8
8
|
|
|
9
9
|
## Who should upgrade
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ This page summarizes what 0.4.0 contains, what changes for existing documents an
|
|
|
28
28
|
| Author tools | Highlighting, completion, binding navigation, rename, formatting and `lint --locale en|zh` |
|
|
29
29
|
| Rendering | Dependency-aware rendering that avoids recomputing unaffected document subtrees |
|
|
30
30
|
|
|
31
|
-
The runnable examples are in the [example index](
|
|
31
|
+
The runnable examples are in the [example index](../../examples/local/README.md), including the six bilingual feature tours, the invoice recipe and the workshop recipe. Every accepted tag name is listed in the [syntax specification](../reference/local-interaction-syntax-en.md#12-component-reference-and-syntax-scope).
|
|
32
32
|
|
|
33
33
|
## Upgrade from 0.3.1 / local-draft-1
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ The new expression functions are reserved binding names. Rename any existing con
|
|
|
40
40
|
|
|
41
41
|
`sum`, `average`, `minOf`, `maxOf`, `formatNumber`, `formatPercent`, `formatScientific`, `formatCurrency`, `trim`, `lower`, `upper`, `startsWith`, `endsWith`, `replace`, `slice`, `dateCompare`, `dateDiff`.
|
|
42
42
|
|
|
43
|
-
These join the existing reserved names: math and collection functions (`abs`, `sqrt`, `floor`, `ceil`, `round`, `min`, `max`, `pow`, `sin`, `cos`, `tan`, `asin`, `acos`, `atan`, `exp`, `log`, `len`, `contains`, `clamp`), the constants `pi` and `e`, the plot names `x` and `y`, the literals `true`, `false` and `null`, and `__proto__`, `prototype` and `constructor`. See [Reusing calculations and formatting values](computations-formatting-en.md#compatibility).
|
|
43
|
+
These join the existing reserved names: math and collection functions (`abs`, `sqrt`, `floor`, `ceil`, `round`, `min`, `max`, `pow`, `sin`, `cos`, `tan`, `asin`, `acos`, `atan`, `exp`, `log`, `len`, `contains`, `clamp`), the constants `pi` and `e`, the plot names `x` and `y`, the literals `true`, `false` and `null`, and `__proto__`, `prototype` and `constructor`. See [Reusing calculations and formatting values](../reference/computations-formatting-en.md#compatibility).
|
|
44
44
|
|
|
45
45
|
### Newly recognized tag names
|
|
46
46
|
|
|
@@ -78,12 +78,12 @@ A source may declare `<!-- reactive-md: local-draft-2 -->` in its prologue. Unve
|
|
|
78
78
|
6. Update hosts for `number-array`, `validate()`, slot APIs and snapshots that include calculated values.
|
|
79
79
|
7. Recheck state import/export, retention and any HTML export inside the host. Migration changes the source digest; export fresh state files.
|
|
80
80
|
8. Check the visible changes: checklist completion styling, table/chart selection and theme CSS.
|
|
81
|
-
9. Run the [release verification gate](
|
|
81
|
+
9. Run the [release verification gate](../../CONTRIBUTING.md) and your own document and browser checks.
|
|
82
82
|
|
|
83
83
|
## Verification scope
|
|
84
84
|
|
|
85
|
-
The `0.4.0` build targets Node.js 22.12 and Node 24; its CI gate uses Playwright Chromium and local checks use Microsoft Edge. `npm run verify:release` is the complete release gate: it covers core and demo tests, types, package and documentation checks, packed consumption outside the repository, and the browser checks for calculations, collections, authoring, state restoration, HTML export and rendering equivalence. Individual commands remain in the [contributing guide](
|
|
85
|
+
The `0.4.0` build targets Node.js 22.12 and Node 24; its CI gate uses Playwright Chromium and local checks use Microsoft Edge. `npm run verify:release` is the complete release gate: it covers core and demo tests, types, package and documentation checks, packed consumption outside the repository, and the browser checks for calculations, collections, authoring, state restoration, HTML export and rendering equivalence. Individual commands remain in the [contributing guide](../../CONTRIBUTING.md).
|
|
86
86
|
|
|
87
87
|
Static SSR is covered by the packed check. Single-file export static-first hydration is covered by the Playwright Chromium and local Edge checks. General SSR hydration outside that path, Firefox and Safari/WebKit are unverified and are not claimed as supported.
|
|
88
88
|
|
|
89
|
-
Use [Versions and compatibility](compatibility-en.md) for the version rules and diagnostics contract, [Source revisions and migration](source-versioning-en.md) for the directive and migration tools, [Shareable documents and static export](shareable-export-en.md) for the HTML and state formats, and [local-draft-2 components and migration](local-components-v2-en.md) for the component additions.
|
|
89
|
+
Use [Versions and compatibility](../compatibility/compatibility-en.md) for the version rules and diagnostics contract, [Source revisions and migration](../compatibility/source-versioning-en.md) for the directive and migration tools, [Shareable documents and static export](../integration/shareable-export-en.md) for the HTML and state formats, and [local-draft-2 components and migration](../reference/local-components-v2-en.md) for the component additions.
|
|
@@ -14,10 +14,10 @@ npm install reactive-md@0.4.1
|
|
|
14
14
|
|
|
15
15
|
LaTeX 使用正文字号和黑白文字颜色,分段函数的表达式与条件保持分离。坐标控件增加网格、箭头轴、虚线投影和可拖动的坐标标注点。quiz 输入框占满可用宽度,题目和操作区整体垂直居中。Playground 在工具栏插入后保留编辑器滚动位置,日期输入框适应窄屏。
|
|
16
16
|
|
|
17
|
-
本次更新调整外观和交互,编译器、运行时与状态文件契约保持不变。使用自定义样式的宿主应检查新的默认外观。完整变化见[变更记录](
|
|
17
|
+
本次更新调整外观和交互,编译器、运行时与状态文件契约保持不变。使用自定义样式的宿主应检查新的默认外观。完整变化见[变更记录](../../CHANGELOG-ch.md);从较早 minor 版本升级时,参阅[0.4.0 迁移指南](release-0.4.0-ch.md)。
|
|
18
18
|
|
|
19
19
|
## 验证与限制
|
|
20
20
|
|
|
21
21
|
发布检查覆盖核心与 Demo 测试、类型、包入口、文档链接、离线安装包消费、静态 SSR、独立 HTML 和浏览器交互。CI 目标为 Node 22.12、24 与 Chromium;本地浏览器检查使用 Windows 上的 Microsoft Edge。导出 HTML 以外的通用 SSR 水合、Firefox 和 WebKit 尚未验证。
|
|
22
22
|
|
|
23
|
-
项目仍处于 0.x 预览阶段。安全边界和宿主职责见 [SECURITY-ch.md](
|
|
23
|
+
项目仍处于 0.x 预览阶段。安全边界和宿主职责见 [SECURITY-ch.md](../../SECURITY-ch.md)。
|
|
@@ -14,10 +14,10 @@ Documents use quieter surfaces, fewer borders, muted chart colors and smoother c
|
|
|
14
14
|
|
|
15
15
|
LaTeX uses the body font size and black/white ink, and piecewise expressions keep their conditions separate. Coordinate controls gain a grid, arrow axes, dashed projections and a labeled draggable point. Quiz inputs fill the container and the question and actions are vertically centered. The Playground preserves editor scroll after toolbar insertion and fits date inputs on narrow screens.
|
|
16
16
|
|
|
17
|
-
These are visual and interaction changes; the compiler, runtime and state-file contracts remain unchanged. Hosts with custom styles should review the revised defaults. See the [changelog](
|
|
17
|
+
These are visual and interaction changes; the compiler, runtime and state-file contracts remain unchanged. Hosts with custom styles should review the revised defaults. See the [changelog](../../CHANGELOG.md) and the [0.4.0 migration guide](release-0.4.0-en.md) when upgrading from an earlier minor release.
|
|
18
18
|
|
|
19
19
|
## Validation and limits
|
|
20
20
|
|
|
21
21
|
Release verification covers core and demo tests, types, package exports, documentation links, offline tarball consumers, static SSR, standalone HTML and browser interactions. CI targets Node 22.12 and 24 with Chromium; local browser checks use Microsoft Edge on Windows. General SSR hydration outside exported HTML, Firefox and WebKit remain unverified.
|
|
22
22
|
|
|
23
|
-
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](
|
|
23
|
+
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](../../SECURITY.md).
|
|
@@ -16,7 +16,7 @@ npm install reactive-md@0.5.0
|
|
|
16
16
|
|
|
17
17
|
编辑器使用独立样式表 `reactive-md/editor/styles.css`,规则限定在编辑器根节点,因此可以在不加载文档渲染样式时使用。需要显示预览的宿主仍按原有方式引入 `reactive-md/styles.css`。
|
|
18
18
|
|
|
19
|
-
`ReactiveMarkdownEditor` 接收 `value` 和 `onChange`,并通过 ref 句柄提供聚焦、选区、textarea 访问、撤销和重做。可选的 `diagnostics` 和 `document` 属性增加行号标记与绑定值类型。作者工具在本地分析源码;宿主通过 `onExport` 接入工具栏导出操作,并自行连接预览与存储。完整属性表、历史规则、只读模式和服务端渲染说明见 [React 源码编辑器](editor-ch.md)。
|
|
19
|
+
`ReactiveMarkdownEditor` 接收 `value` 和 `onChange`,并通过 ref 句柄提供聚焦、选区、textarea 访问、撤销和重做。可选的 `diagnostics` 和 `document` 属性增加行号标记与绑定值类型。作者工具在本地分析源码;宿主通过 `onExport` 接入工具栏导出操作,并自行连接预览与存储。完整属性表、历史规则、只读模式和服务端渲染说明见 [React 源码编辑器](../integration/editor-ch.md)。
|
|
20
20
|
|
|
21
21
|
## 文档渲染
|
|
22
22
|
|
|
@@ -26,16 +26,16 @@ npm install reactive-md@0.5.0
|
|
|
26
26
|
|
|
27
27
|
代码围栏支持 JavaScript、TypeScript、Python、JSON、Bash、HTML、CSS 等常见语言高亮。复制按钮保留原文,并显示成功或失败反馈。未知语言及超过 20,000 字符的代码块按纯文本显示。静态输出保留高亮;静态输出与打印不显示复制控件。
|
|
28
28
|
|
|
29
|
-
通过宿主 URL 策略的图片可以点击放大,也可用 Enter 或空格打开;关闭按钮、Esc 和遮罩都能关闭预览,并恢复原图焦点。带链接的图片保留链接导航,静态输出保留普通图片。用法见[作者指南](local-guide-ch.md)与[图片策略](local-integration-ch.md#图片与链接策略)。
|
|
29
|
+
通过宿主 URL 策略的图片可以点击放大,也可用 Enter 或空格打开;关闭按钮、Esc 和遮罩都能关闭预览,并恢复原图焦点。带链接的图片保留链接导航,静态输出保留普通图片。用法见[作者指南](../guides/local-guide-ch.md)与[图片策略](../integration/local-integration-ch.md#图片与链接策略)。
|
|
30
30
|
|
|
31
31
|
## 兼容性
|
|
32
32
|
|
|
33
33
|
现有 `reactive-md`、`reactive-md/react` 和 `reactive-md/styles.css` 导入继续有效,渲染器入口未变。为 `0.4.x` 编写的文档无需修改。本版本新增公开入口;只渲染文档的项目可以直接升级。
|
|
34
34
|
|
|
35
|
-
编辑器需要 React 19,核心 `reactive-md` 入口仍不依赖 React。版本轴与迁移规则见[变更记录](
|
|
35
|
+
编辑器需要 React 19,核心 `reactive-md` 入口仍不依赖 React。版本轴与迁移规则见[变更记录](../../CHANGELOG-ch.md)和[版本与兼容性](../compatibility/compatibility-ch.md)。
|
|
36
36
|
|
|
37
37
|
## 验证与限制
|
|
38
38
|
|
|
39
39
|
0.5.0 发布门禁覆盖核心与渲染器测试、编辑器入口、类型检查、包入口、文档链接、离线安装包消费、静态渲染和浏览器交互。CI 目标为 Node 22.12、24 与 Chromium;本地浏览器检查使用 Windows 上的 Microsoft Edge。导出 HTML 以外的通用 SSR 水合、Firefox 和 WebKit 尚未验证。
|
|
40
40
|
|
|
41
|
-
项目仍处于 0.x 预览阶段。安全边界和宿主职责见 [SECURITY-ch.md](
|
|
41
|
+
项目仍处于 0.x 预览阶段。安全边界和宿主职责见 [SECURITY-ch.md](../../SECURITY-ch.md)。
|
|
@@ -16,7 +16,7 @@ For offline installation, use the [npm tarball](https://registry.npmjs.org/react
|
|
|
16
16
|
|
|
17
17
|
The editor has an independent stylesheet at `reactive-md/editor/styles.css`. Its rules are scoped to the editor root, so it can be loaded without the document renderer styles. A host that shows a preview imports `reactive-md/styles.css` as before.
|
|
18
18
|
|
|
19
|
-
`ReactiveMarkdownEditor` takes `value` and `onChange` and exposes a ref handle for focus, selection, textarea access, undo and redo. Optional `diagnostics` and `document` props add gutter markers and binding value types. Authoring tools analyze source locally; the host manages preview, storage and the toolbar export action through `onExport`. See [React source editor](editor-en.md) for the full prop table, history rules, read-only modes and server rendering notes.
|
|
19
|
+
`ReactiveMarkdownEditor` takes `value` and `onChange` and exposes a ref handle for focus, selection, textarea access, undo and redo. Optional `diagnostics` and `document` props add gutter markers and binding value types. Authoring tools analyze source locally; the host manages preview, storage and the toolbar export action through `onExport`. See [React source editor](../integration/editor-en.md) for the full prop table, history rules, read-only modes and server rendering notes.
|
|
20
20
|
|
|
21
21
|
## Document rendering
|
|
22
22
|
|
|
@@ -26,16 +26,16 @@ These additions extend prose parsing and document rendering. The syntax revision
|
|
|
26
26
|
|
|
27
27
|
Fenced code blocks highlight common languages, including JavaScript, TypeScript, Python, JSON, Bash, HTML and CSS. A copy button copies the original text with success or failure feedback. Unknown languages and blocks longer than 20,000 characters remain plain text. Static output keeps highlighting; copy controls are omitted from static output and printing.
|
|
28
28
|
|
|
29
|
-
Images approved by the host URL policy open in a modal viewer. Enter or Space opens the image; the close button, Escape or the backdrop dismisses it and restores focus. Linked images keep their link navigation. Static output keeps ordinary images. See the [author guide](local-guide-en.md) and [host integration](local-integration-en.md) for usage.
|
|
29
|
+
Images approved by the host URL policy open in a modal viewer. Enter or Space opens the image; the close button, Escape or the backdrop dismisses it and restores focus. Linked images keep their link navigation. Static output keeps ordinary images. See the [author guide](../guides/local-guide-en.md) and [host integration](../integration/local-integration-en.md) for usage.
|
|
30
30
|
|
|
31
31
|
## Compatibility
|
|
32
32
|
|
|
33
33
|
Existing `reactive-md`, `reactive-md/react` and `reactive-md/styles.css` imports keep working, and the renderer entry is unchanged. Documents written for `0.4.x` need no edit. The release adds a public entry; projects that only render documents can upgrade without changes.
|
|
34
34
|
|
|
35
|
-
The editor requires React 19. The core `reactive-md` entry still does not depend on React. See the [changelog](
|
|
35
|
+
The editor requires React 19. The core `reactive-md` entry still does not depend on React. See the [changelog](../../CHANGELOG.md) and [Versions and compatibility](../compatibility/compatibility-en.md) for the version axes.
|
|
36
36
|
|
|
37
37
|
## Validation and limits
|
|
38
38
|
|
|
39
39
|
The 0.5.0 release gate covers core and renderer tests, the editor entry, type checking, package exports, documentation links, offline tarball consumers, static rendering and browser interaction. CI targets Node 22.12 and 24 with Chromium; local browser checks use Microsoft Edge. General SSR hydration outside exported HTML, Firefox and WebKit remain unverified.
|
|
40
40
|
|
|
41
|
-
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](
|
|
41
|
+
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](../../SECURITY.md).
|
|
@@ -18,22 +18,22 @@ npm install reactive-md@0.5.1
|
|
|
18
18
|
|
|
19
19
|
编辑区、行号、语法高亮、工具栏和菜单跟随实例主题。浅色模式使用白色编辑区,深色模式保留深蓝底色,`auto` 跟随系统设置。宿主页面主题与编辑器主题相互独立。
|
|
20
20
|
|
|
21
|
-
完整属性表和视图行为见 [React 源码编辑器](editor-ch.md)。
|
|
21
|
+
完整属性表和视图行为见 [React 源码编辑器](../integration/editor-ch.md)。
|
|
22
22
|
|
|
23
23
|
## HTML 兼容
|
|
24
24
|
|
|
25
25
|
默认渲染器新增 P0 HTML 子集,包括富文本折叠、容器、标题、代码、列表、链接和图片。宿主可额外开启作者 CSS、JavaScript 和扩展 HTML;三个选项默认全部关闭。任意开启一个,整篇文档分流到隔离的原生 HTML 路径,该路径停止解析 Markdown 和 ReactiveMD。
|
|
26
26
|
|
|
27
|
-
这项分流是下一版本前的暂时策略。静态导出禁用作者 JavaScript。支持的子集、选项和冲突规则见 [HTML 部分兼容](html-compatibility-ch.md)。
|
|
27
|
+
这项分流是下一版本前的暂时策略。静态导出禁用作者 JavaScript。支持的子集、选项和冲突规则见 [HTML 部分兼容](../reference/html-compatibility-ch.md)。
|
|
28
28
|
|
|
29
29
|
## 兼容性
|
|
30
30
|
|
|
31
31
|
现有 `reactive-md`、`reactive-md/react`、`reactive-md/editor` 和 `reactive-md/styles.css` 导入保持不变。为 `0.4.x` 和 `0.5.0` 编写的文档无需修改。语法修订、组块协议和主题协议版本不变。
|
|
32
32
|
|
|
33
|
-
编辑器需要 React 19;核心 `reactive-md` 入口仍不依赖 React。版本轴说明见[变更记录](
|
|
33
|
+
编辑器需要 React 19;核心 `reactive-md` 入口仍不依赖 React。版本轴说明见[变更记录](../../CHANGELOG-ch.md)和[版本与兼容性](../compatibility/compatibility-ch.md)。
|
|
34
34
|
|
|
35
35
|
## 验证与限制
|
|
36
36
|
|
|
37
37
|
0.5.1 发布门禁覆盖核心与渲染器测试、编辑器入口及其视图、类型检查、包入口、文档链接、离线安装包消费、静态渲染和浏览器交互。CI 使用 Node 22.12 和 24 搭配 Chromium;本机浏览器检查使用 Microsoft Edge。导出 HTML 之外的通用 SSR 水合、Firefox 和 WebKit 尚未验证。
|
|
38
38
|
|
|
39
|
-
项目仍处于 0.x 预览阶段。安全边界和宿主责任见 [SECURITY-ch.md](
|
|
39
|
+
项目仍处于 0.x 预览阶段。安全边界和宿主责任见 [SECURITY-ch.md](../../SECURITY-ch.md)。
|
|
@@ -18,22 +18,22 @@ Containers up to 600px wide offer only Edit and Preview. A source-only editor ke
|
|
|
18
18
|
|
|
19
19
|
The editor source surface, gutter, syntax highlighting, toolbar and menus now follow the instance theme. Light mode uses a white editor surface, dark mode keeps the deep blue surface, and `auto` follows the system preference. The host page theme and the editor theme remain independent.
|
|
20
20
|
|
|
21
|
-
See [React source editor](editor-en.md) for the full prop table and view behavior.
|
|
21
|
+
See [React source editor](../integration/editor-en.md) for the full prop table and view behavior.
|
|
22
22
|
|
|
23
23
|
## HTML compatibility
|
|
24
24
|
|
|
25
25
|
The default renderer now accepts a P0 HTML subset, including disclosures, containers, headings, code, lists, links and images. Three host-owned options add author CSS, JavaScript and extended HTML. All three are off by default. Enabling any one routes the whole document to isolated native HTML, which stops Markdown and ReactiveMD interpretation for that path.
|
|
26
26
|
|
|
27
|
-
This routing is a temporary policy for the next release. Static export disables author JavaScript. See [HTML compatibility](html-compatibility-en.md) for the supported subset, options and conflict rules.
|
|
27
|
+
This routing is a temporary policy for the next release. Static export disables author JavaScript. See [HTML compatibility](../reference/html-compatibility-en.md) for the supported subset, options and conflict rules.
|
|
28
28
|
|
|
29
29
|
## Compatibility
|
|
30
30
|
|
|
31
31
|
Existing `reactive-md`, `reactive-md/react`, `reactive-md/editor` and `reactive-md/styles.css` imports keep working. Documents written for `0.4.x` and `0.5.0` need no edit. The syntax revision, component protocol and theme protocol keep their current versions.
|
|
32
32
|
|
|
33
|
-
The editor requires React 19. The core `reactive-md` entry still does not depend on React. See the [changelog](
|
|
33
|
+
The editor requires React 19. The core `reactive-md` entry still does not depend on React. See the [changelog](../../CHANGELOG.md) and [Versions and compatibility](../compatibility/compatibility-en.md) for the version axes.
|
|
34
34
|
|
|
35
35
|
## Validation and limits
|
|
36
36
|
|
|
37
37
|
The 0.5.1 release gate covers core and renderer tests, the editor entry and its views, type checking, package exports, documentation links, offline tarball consumers, static rendering and browser interaction. CI targets Node 22.12 and 24 with Chromium; local browser checks use Microsoft Edge. General SSR hydration outside exported HTML, Firefox and WebKit remain unverified.
|
|
38
38
|
|
|
39
|
-
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](
|
|
39
|
+
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](../../SECURITY.md).
|
|
@@ -18,7 +18,7 @@ npm install reactive-md@0.5.2
|
|
|
18
18
|
|
|
19
19
|
`LocalDocumentView` 和 `LocalReactiveDocument` 接受 `hostData`(按 `${kind}:${ref}` 索引的 JSON 安全数据)与仅客户端的 `hostRenderer(node, data, ctx)`。缺少 renderer、缺少数据或 renderer 抛错时显示可见占位,不会让文档失败。`mode="static"` 走同一分派。Schema 会随编译请求进入 worker;renderer 和宿主数据不会。
|
|
20
20
|
|
|
21
|
-
完整契约见[本地模式集成](local-integration-ch.md#宿主组件)与[组块协议](component-protocol-ch.md)。
|
|
21
|
+
完整契约见[本地模式集成](../integration/local-integration-ch.md#宿主组件)与[组块协议](../development/component-protocol-ch.md)。
|
|
22
22
|
|
|
23
23
|
## 协议修订
|
|
24
24
|
|
|
@@ -26,10 +26,10 @@ npm install reactive-md@0.5.2
|
|
|
26
26
|
|
|
27
27
|
## 兼容性
|
|
28
28
|
|
|
29
|
-
现有 `reactive-md`、`reactive-md/react`、`reactive-md/editor`、`reactive-md/styles.css` 和 `reactive-md/editor/styles.css` 导入继续有效。为 `0.5.x` 编写的文档无需修改;宿主扩展为可选能力。核心入口仍不依赖 React。详见[变更日志](
|
|
29
|
+
现有 `reactive-md`、`reactive-md/react`、`reactive-md/editor`、`reactive-md/styles.css` 和 `reactive-md/editor/styles.css` 导入继续有效。为 `0.5.x` 编写的文档无需修改;宿主扩展为可选能力。核心入口仍不依赖 React。详见[变更日志](../../CHANGELOG-ch.md)与[版本与兼容性](../compatibility/compatibility-ch.md)。
|
|
30
30
|
|
|
31
31
|
## 验证与限制
|
|
32
32
|
|
|
33
33
|
发布门槛覆盖类型检查、完整测试套件、文档链接、包构建和打包安装冒烟检查。单文件导出之外的通用 SSR 水合、Firefox 和 WebKit 仍未验证。
|
|
34
34
|
|
|
35
|
-
项目仍是 0.x 预览版。安全边界与宿主责任见[SECURITY-ch.md](
|
|
35
|
+
项目仍是 0.x 预览版。安全边界与宿主责任见[SECURITY-ch.md](../../SECURITY-ch.md)。
|
|
@@ -18,7 +18,7 @@ Without `hostComponents`, behavior is unchanged: the tag remains unknown and fal
|
|
|
18
18
|
|
|
19
19
|
`LocalDocumentView` and `LocalReactiveDocument` accept `hostData`, JSON-safe data keyed `${kind}:${ref}`, and a client-only `hostRenderer(node, data, ctx)`. A missing renderer, missing data or a throwing renderer renders a visible placeholder instead of failing the document. `mode="static"` uses the same dispatch. Schemas travel through the compile worker; the renderer and host data never do.
|
|
20
20
|
|
|
21
|
-
See [Local mode integration](local-integration-en.md#host-components) and [Component protocol](component-protocol-en.md) for the full contract.
|
|
21
|
+
See [Local mode integration](../integration/local-integration-en.md#host-components) and [Component protocol](../development/component-protocol-en.md) for the full contract.
|
|
22
22
|
|
|
23
23
|
## Protocol revision
|
|
24
24
|
|
|
@@ -26,10 +26,10 @@ The component protocol is now `component-protocol-2`. The syntax revision remain
|
|
|
26
26
|
|
|
27
27
|
## Compatibility
|
|
28
28
|
|
|
29
|
-
Existing `reactive-md`, `reactive-md/react`, `reactive-md/editor`, `reactive-md/styles.css` and `reactive-md/editor/styles.css` imports keep working. Documents written for `0.5.x` need no edit; the host extension is opt-in. The core entry still does not depend on React. See the [changelog](
|
|
29
|
+
Existing `reactive-md`, `reactive-md/react`, `reactive-md/editor`, `reactive-md/styles.css` and `reactive-md/editor/styles.css` imports keep working. Documents written for `0.5.x` need no edit; the host extension is opt-in. The core entry still does not depend on React. See the [changelog](../../CHANGELOG.md) and [Versions and compatibility](../compatibility/compatibility-en.md).
|
|
30
30
|
|
|
31
31
|
## Validation and limits
|
|
32
32
|
|
|
33
33
|
The release gate covers type checking, the full test suite, documentation links, the package build and a packed-package smoke check. General SSR hydration outside exported HTML, Firefox and WebKit remain unverified.
|
|
34
34
|
|
|
35
|
-
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](
|
|
35
|
+
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](../../SECURITY.md).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# 0.5.3 预览版
|
|
2
|
+
|
|
3
|
+
使用 `npm install reactive-md@0.5.3` 或 `npm install reactive-md@next` 安装。语法修订保持 `local-draft-2`,组块协议保持 `component-protocol-2`,主题协议保持 `reactive-md-theme-1`。`latest` 渠道仍为 `0.4.0`。
|
|
4
|
+
|
|
5
|
+
## 宿主集成
|
|
6
|
+
|
|
7
|
+
- 在 `LocalCompileOptions` 中设置 `markdownBreaks: true`,把 Markdown 软换行显示为换行。配置贯通编译、React 预览、worker 与缓存键,源码 UTF-16 偏移保持不变;默认值为 `false`。
|
|
8
|
+
- 用 `reactive-md/react/unstyled` 加载无样式依赖的 React 渲染器。按需引入 `reactive-md/screen.css`(也可用原有 `reactive-md/styles.css`),打印时再引入 `reactive-md/print.css`。屏幕样式不再设置全局 `@page`;独立 HTML 保留自身的打印样式。
|
|
9
|
+
- 从 `reactive-md` 导入 `localCompileOptionsKey`,从任一 React 入口导入 `LocalRenderContext` 类型。
|
|
10
|
+
|
|
11
|
+
## 作者工具
|
|
12
|
+
|
|
13
|
+
新增 `reactive-md/authoring` 纯函数入口,提供 schema、组件目录、模板辅助函数、插入命令和类型,无需加载 React 或 CSS,可供 CM6 等宿主编辑器使用。
|
|
14
|
+
|
|
15
|
+
`analyzeLocalSource(source, options)`、`completeLocalSource(source, offset, options)`、`renameLocalBinding(source, oldName, newName, options)` 和 `formatLocalSource(source, options)` 接受可选 `LocalCompileOptions`。传入与预览相同的配置,即可统一宿主组件、原生 HTML 分流和资源预算的判断。
|
|
16
|
+
|
|
17
|
+
## 数学诊断
|
|
18
|
+
|
|
19
|
+
不支持的显示命令、环境及渲染预算降级会产生带源码范围的警告。降级时仍以转义文本保留公式内容;显示支持与计算支持分别判断。
|
|
20
|
+
|
|
21
|
+
## 兼容性
|
|
22
|
+
|
|
23
|
+
已有入口继续可用。需要文档打印布局的宿主须显式导入可选打印样式,无需迁移文档语法或协议。
|
|
24
|
+
|
|
25
|
+
参见[更新日志](../../CHANGELOG-ch.md)、[作者工具](../integration/author-tools-ch.md)和[集成指南](../integration/local-integration-ch.md)。
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# 0.5.3 preview release
|
|
2
|
+
|
|
3
|
+
Install with `npm install reactive-md@0.5.3` or `npm install reactive-md@next`. This preview keeps syntax revision `local-draft-2`, component protocol `component-protocol-2` and theme protocol `reactive-md-theme-1`. The `latest` channel remains `0.4.0`.
|
|
4
|
+
|
|
5
|
+
## Host integration
|
|
6
|
+
|
|
7
|
+
- Set `markdownBreaks: true` in `LocalCompileOptions` to render Markdown soft line breaks as line breaks. The option travels through compilation, React preview, workers and cache keys. Source offsets retain their original UTF-16 positions; the default is `false`.
|
|
8
|
+
- Use `reactive-md/react/unstyled` for the React renderer with no stylesheet dependency. Import `reactive-md/screen.css` (also available as `reactive-md/styles.css`) for document styles, and opt into `reactive-md/print.css` for print layout and page margins. Screen styles no longer set global `@page` rules. Standalone HTML retains its own print styling.
|
|
9
|
+
- Import `localCompileOptionsKey` from `reactive-md` and `LocalRenderContext` from either React entry.
|
|
10
|
+
|
|
11
|
+
## Author tools
|
|
12
|
+
|
|
13
|
+
The `reactive-md/authoring` entry provides the schema, component catalog, template helpers, insertion commands and their types without loading React or CSS. CM6 and other host editors can use these functions independently of the built-in editor.
|
|
14
|
+
|
|
15
|
+
Pass the same optional `LocalCompileOptions` to `analyzeLocalSource(source, options)`, `completeLocalSource(source, offset, options)`, `renameLocalBinding(source, oldName, newName, options)` and `formatLocalSource(source, options)` as to preview compilation. Host schemas, native HTML routing and resource limits then use the same rules.
|
|
16
|
+
|
|
17
|
+
## Math diagnostics
|
|
18
|
+
|
|
19
|
+
Display math reports source-ranged warnings for unsupported commands or environments and rendering-budget fallbacks. Formulas remain readable as escaped text when rendering falls back. Computation support and display support are checked separately.
|
|
20
|
+
|
|
21
|
+
## Compatibility
|
|
22
|
+
|
|
23
|
+
Existing package entries remain available. Hosts that need document print layout should explicitly import the optional print stylesheet. No source syntax or protocol migration is required.
|
|
24
|
+
|
|
25
|
+
See the [changelog](../../CHANGELOG.md), [author tools](../integration/author-tools-en.md) and [integration guide](../integration/local-integration-en.md).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# 0.6.0 发布说明
|
|
2
|
+
|
|
3
|
+
`reactive-md@0.6.0` 是同时更新 `latest` 与 `next` 的 0.x 预览版。语法修订保持 `local-draft-2`,组块协议保持 `component-protocol-2`,主题协议保持 `reactive-md-theme-1`。现有导入和文档无需迁移。
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install reactive-md
|
|
7
|
+
# 或固定版本
|
|
8
|
+
npm install reactive-md@0.6.0
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
离线安装可下载 [npm 安装包](https://registry.npmjs.org/reactive-md/-/reactive-md-0.6.0.tgz)。
|
|
12
|
+
|
|
13
|
+
## 原生 HTML
|
|
14
|
+
|
|
15
|
+
默认渲染路径的 P0 HTML 新增原生表格。`<table>` 的正文出现 `caption`、`colgroup`、`thead`、`tbody`、`tr`、`th` 或 `td` 时按 HTML 表格渲染,支持 `colspan`、`rowspan`、`scope`、`headers` 及列组 `span`,无需开启扩展 HTML。原生表格与 Markdown 表格共用框架、标题、单元格样式和窄屏滚动;普通数字列自动右对齐。原生表格不提供搜索、排序、分页或行选择,单元格内的 Markdown、公式、插值和控件继续工作。混用 Markdown 表格行与 HTML 结构会给出诊断,并按原文显示该表格。
|
|
16
|
+
|
|
17
|
+
`div`、`p` 和 `h1` 至 `h6` 支持静态 `align` 属性,取值为 `left`、`center`、`right` 或 `justify`。链接支持显式 `target` 和 `rel`:未指定属性的 HTTP(S) 链接仍在新窗口打开,`target="_blank"` 会保留作者关系词、合并 `noopener noreferrer` 并移除 `opener`,相对链接仍在当前页面打开。
|
|
18
|
+
|
|
19
|
+
无法解析的局部原生 HTML 现在按原文显示,不再导致整篇文档失败;其余 Markdown、公式和控件继续渲染。新增 `local.html.fallback` 和 `local.html.fallbackAttribute` 警告,分别表示元素因不支持的标签或属性转为惰性源码。React 预览和 standalone 挂载在整篇 HTML 解析失败时显示完整源码,保留换行并转义标签。
|
|
20
|
+
|
|
21
|
+
## 数学排版
|
|
22
|
+
|
|
23
|
+
正文支持 `\(...\)` 行内公式和 `\[...\]` 独立公式,与美元定界符共用同一渲染器;plot 仍只接受 `$$...$$`。
|
|
24
|
+
|
|
25
|
+
排版新增 `aligned`、`align`、`align*`、`pmatrix`、`bmatrix` 和 `vmatrix` 环境,并支持 `\tag` 编号。补充 `\mathbb`、`\mathcal`、`\mathscr`、`\mathfrak`、`\textbf`、`\textit`、上下标注箭头、`\big` 系列定界符,以及 `\sec`、`\sinh`、`\pmod` 等命令。
|
|
26
|
+
|
|
27
|
+
化学式通过 mhchem 的 `\ce{...}` 编写,例如 `$\ce{H2O}$` 或 `$$\ce{2 H2 + O2 -> 2 H2O}$$`。分子下标、离子电荷、同位素、物态和反应箭头由 `mhchemparser` 转换后进入同一 MathML 渲染器;转换受长度、记号和嵌套预算限制,未支持的命令给出 `local.math.display` 诊断。
|
|
28
|
+
|
|
29
|
+
## 代码围栏
|
|
30
|
+
|
|
31
|
+
新增 `cattca`、`mermaid` 和 `vue` 高亮。Vue 单文件组件的模板、JavaScript/TypeScript、CSS/SCSS 分段高亮;Cattca 按 Markdown 正文与命令块高亮;Mermaid 围栏只高亮源码,不渲染图表。无语言标注时继续在受限语言集合中自动识别,未知语言和超过 20,000 字符的代码块保留纯文本。
|
|
32
|
+
|
|
33
|
+
## 图解与提示
|
|
34
|
+
|
|
35
|
+
node/edge 图解改用分层布局:源码顺序决定同层顺序,环路整体分组,平行边和标签位置由布局计算,连线使用平滑路径。服务端渲染和首屏仍先输出确定性的同步布局,组件挂载后再切换为最终布局。
|
|
36
|
+
|
|
37
|
+
tooltip 气泡会限制在视口内,并在滚动、缩放和内容尺寸变化时重新定位;配色跟随文档的浅色、深色和自定义主题。
|
|
38
|
+
|
|
39
|
+
## 表单与宿主 API
|
|
40
|
+
|
|
41
|
+
带 `required` 的文本、多行文本和日期控件不再设置原生 `required` 属性,改用 `aria-required` 和现有本地校验。嵌入宿主表单时,未填写的控件不会再以浏览器原生气泡阻止表单提交或 Enter 操作。
|
|
42
|
+
|
|
43
|
+
`compileLocal` 的返回值现在只包含普通对象和数组,可安全跨 React Server Components 边界传递,冻结元数据与共享引用保持不变。
|
|
44
|
+
|
|
45
|
+
编辑器 ref 句柄新增 `insertText(text)`:用文本替换当前选区,记录为一次可撤销编辑,并把光标放到插入内容之后。
|
|
46
|
+
|
|
47
|
+
## 兼容性
|
|
48
|
+
|
|
49
|
+
现有入口、导入和文档语法保持不变,为 `0.5.x` 编写的文档无需修改。原生 HTML 表格和新数学命令只增加可识别写法;此前作为普通文字显示的相关源码现在可能按 HTML 或公式渲染。新增两个随包构建的依赖:`elkjs`(EPL-2.0 OR GPL-3.0-or-later)与 `mhchemparser`(Apache-2.0),许可声明已更新到 `THIRD_PARTY_NOTICES.md`。
|
|
50
|
+
|
|
51
|
+
`latest` 从 `0.4.0` 更新到 `0.6.0`,`next` 从 `0.5.3` 更新到 `0.6.0`。版本轴与迁移规则见[变更记录](../../CHANGELOG-ch.md)和[版本与兼容性](../compatibility/compatibility-ch.md)。
|
|
52
|
+
|
|
53
|
+
## 验证与限制
|
|
54
|
+
|
|
55
|
+
发布使用完整 `npm run verify:release` 门禁,覆盖核心与 Demo 测试、类型检查、构建、第三方 notice、包入口、文档链接、仓库外真实安装包消费和浏览器交互。CI 在 Node 22.12 和 24 上运行 Node 门禁,浏览器门禁在 Chromium 上运行完整检查,并使用 Firefox 与 WebKit 运行核心工作流;本机浏览器检查使用 Microsoft Edge。Firefox 与 WebKit 的完整交互套件和导出 HTML 之外的通用 SSR 水合仍未验证。
|
|
56
|
+
|
|
57
|
+
项目仍处于 0.x 预览阶段。安全边界和宿主职责见 [SECURITY-ch.md](../../SECURITY-ch.md)。
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# 0.6.0 release
|
|
2
|
+
|
|
3
|
+
`reactive-md@0.6.0` is a 0.x preview that updates both `latest` and `next`. It keeps syntax revision `local-draft-2`, component protocol `component-protocol-2` and theme protocol `reactive-md-theme-1`. Existing imports and documents need no migration.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install reactive-md
|
|
7
|
+
# or pin the version
|
|
8
|
+
npm install reactive-md@0.6.0
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
For offline installation, use the [npm tarball](https://registry.npmjs.org/reactive-md/-/reactive-md-0.6.0.tgz).
|
|
12
|
+
|
|
13
|
+
## Native HTML
|
|
14
|
+
|
|
15
|
+
The default P0 HTML path now supports native tables. When a `<table>` body contains `caption`, `colgroup`, `thead`, `tbody`, `tr`, `th` or `td`, it renders as an HTML table with `colspan`, `rowspan`, `scope`, `headers` and column-group `span`, without enabling extended HTML. Native and Markdown tables share the frame, caption, cell styles and narrow-screen scrolling; numeric columns keep the same automatic alignment. Native tables do not add search, sort, paging or row selection, and Markdown, formulas, interpolation and controls inside cells keep working. Mixing Markdown table rows with HTML structure produces a diagnostic and shows that table as source.
|
|
16
|
+
|
|
17
|
+
`div`, `p` and `h1` through `h6` accept a static `align` attribute with `left`, `center`, `right` or `justify`. Links accept explicit `target` and `rel`: HTTP(S) links without attributes still open in a new window, `target="_blank"` keeps author relationship words, merges `noopener noreferrer` and removes `opener`, and relative links still open in the current page.
|
|
18
|
+
|
|
19
|
+
Unparseable native HTML fragments now display as source instead of failing the whole document; the remaining Markdown, formulas and controls keep rendering. New `local.html.fallback` and `local.html.fallbackAttribute` warnings mark elements converted to inert source because of an unsupported tag or attribute. React previews and standalone mounts show the full source, with line breaks preserved and tags escaped, when whole-document HTML parsing fails.
|
|
20
|
+
|
|
21
|
+
## Math layout
|
|
22
|
+
|
|
23
|
+
Prose accepts `\(...\)` for inline math and `\[...\]` for display math through the same renderer as the dollar delimiters; plots still accept only `$$...$$`.
|
|
24
|
+
|
|
25
|
+
Display adds the `aligned`, `align`, `align*`, `pmatrix`, `bmatrix` and `vmatrix` environments with `\tag` numbering. It also adds `\mathbb`, `\mathcal`, `\mathscr`, `\mathfrak`, `\textbf`, `\textit`, labeled arrows, `\big` delimiter sizes and commands such as `\sec`, `\sinh` and `\pmod`.
|
|
26
|
+
|
|
27
|
+
Chemistry uses mhchem `\ce{...}`, for example `$\ce{H2O}$` or `$$\ce{2 H2 + O2 -> 2 H2O}$$`. `mhchemparser` converts subscripts, ionic charges, isotopes, states and reaction arrows before the shared MathML renderer; conversion is bounded by length, token and nesting budgets, and unsupported commands produce `local.math.display` diagnostics.
|
|
28
|
+
|
|
29
|
+
## Code fences
|
|
30
|
+
|
|
31
|
+
New highlighting covers `cattca`, `mermaid` and `vue`. Vue single-file components highlight templates, JavaScript/TypeScript and CSS/SCSS as separate regions; Cattca highlights Markdown prose and command blocks; Mermaid fences highlight source only and do not render diagrams. Unlabeled blocks keep the restricted automatic detection, and unknown languages or blocks longer than 20,000 characters stay plain text.
|
|
32
|
+
|
|
33
|
+
## Diagrams and tooltips
|
|
34
|
+
|
|
35
|
+
Node/edge diagrams now use a layered layout: source order sets order within a layer, cycles are grouped, parallel edges and label positions are computed by the layout, and edges use smooth paths. Server rendering and the first paint still emit a deterministic synchronous layout, then swap to the final layout after mount.
|
|
36
|
+
|
|
37
|
+
Tooltips stay inside the viewport and reposition on scroll, zoom and content-size changes. Their colors follow the document's light, dark and custom themes.
|
|
38
|
+
|
|
39
|
+
## Forms and host APIs
|
|
40
|
+
|
|
41
|
+
Required text, textarea and date controls no longer set the native `required` attribute. They use `aria-required` and the existing local validation instead. Inside a host form, an empty control no longer blocks submission or the Enter action with a browser validation bubble.
|
|
42
|
+
|
|
43
|
+
`compileLocal` now returns only plain objects and arrays, so results can cross a React Server Components boundary safely while frozen metadata and shared references stay intact.
|
|
44
|
+
|
|
45
|
+
The editor ref handle adds `insertText(text)`, which replaces the current selection, records one undoable edit and places the caret after the inserted text.
|
|
46
|
+
|
|
47
|
+
## Compatibility
|
|
48
|
+
|
|
49
|
+
Existing entries, imports and document syntax are unchanged; documents written for `0.5.x` need no edit. Native HTML tables and the new math commands only add recognized forms; source that previously displayed as ordinary text may now render as HTML or a formula. Two dependencies are bundled into the build: `elkjs` (EPL-2.0 OR GPL-3.0-or-later) and `mhchemparser` (Apache-2.0); `THIRD_PARTY_NOTICES.md` is updated.
|
|
50
|
+
|
|
51
|
+
`latest` moves from `0.4.0` to `0.6.0`, and `next` moves from `0.5.3` to `0.6.0`. See the [changelog](../../CHANGELOG.md) and [Versions and compatibility](../compatibility/compatibility-en.md) for the version axes and migration rules.
|
|
52
|
+
|
|
53
|
+
## Validation and limits
|
|
54
|
+
|
|
55
|
+
The release uses the full `npm run verify:release` gate: core and Demo tests, type checking, builds, third-party notices, package entries, documentation links, real tarball consumption outside the repository and browser interaction. CI runs the Node gate on Node 22.12 and 24; the browser gate runs the full suite on Chromium and core workflows on Firefox and WebKit. Local browser checks use Microsoft Edge. The full Firefox and WebKit interaction suites and general SSR hydration outside exported HTML remain unverified.
|
|
56
|
+
|
|
57
|
+
The project remains a 0.x preview. Security boundaries and host responsibilities are documented in [SECURITY.md](../../SECURITY.md).
|