reactive-md 0.4.1 → 0.5.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 +128 -113
- package/CHANGELOG.md +128 -113
- package/LICENSE +21 -21
- package/README-ch.md +152 -123
- package/README-en.md +176 -147
- package/README.md +176 -147
- package/THIRD_PARTY_NOTICES.md +94 -1
- package/bin/reactive-md.mjs +1 -1
- package/dist-library/reactive-md-editor.css +2 -0
- package/dist-library/reactive-md-editor.js +3710 -0
- package/dist-library/reactive-md-react.js +9035 -1558
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +98 -97
- package/dist-library/{runtime-D3QTVYaz.js → runtime-DPuMxM_y.js} +1978 -1583
- package/dist-library/types/editor/ReactiveMarkdownEditor.d.ts +7 -0
- package/dist-library/types/editor/editor-commands.d.ts +50 -0
- package/dist-library/types/editor/editor-i18n.d.ts +102 -0
- package/dist-library/types/editor/editor-toolbar.d.ts +24 -0
- package/dist-library/types/editor/extended-native-components.d.ts +58 -0
- package/dist-library/types/editor/index.d.ts +9 -0
- package/dist-library/types/editor/locale.d.ts +13 -0
- package/dist-library/types/editor/native-components.d.ts +47 -0
- package/dist-library/types/editor/source-authoring.d.ts +57 -0
- package/dist-library/types/editor/types.d.ts +44 -0
- package/dist-library/types/editor/use-gutter-metrics.d.ts +5 -0
- package/dist-library/types/editor/use-source-history.d.ts +16 -0
- package/dist-library/types/local/code-block.d.ts +24 -0
- package/dist-library/types/local/footnotes.d.ts +51 -0
- package/dist-library/types/local/image-view.d.ts +21 -0
- package/dist-library/types/local/types.d.ts +7 -0
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +47 -36
- package/docs/compatibility-ch.md +12 -8
- package/docs/compatibility-en.md +12 -8
- package/docs/component-protocol-ch.md +2 -2
- package/docs/component-protocol-en.md +2 -2
- package/docs/editor-ch.md +216 -0
- package/docs/editor-en.md +216 -0
- package/docs/local-guide-ch.md +11 -5
- package/docs/local-guide-en.md +11 -5
- package/docs/local-interaction-syntax-ch.md +7 -2
- package/docs/local-interaction-syntax-en.md +7 -2
- package/docs/release-0.4.1-ch.md +23 -23
- package/docs/release-0.4.1-en.md +23 -23
- package/docs/release-0.5.0-ch.md +41 -0
- package/docs/release-0.5.0-en.md +41 -0
- package/docs/releasing-ch.md +108 -101
- package/docs/releasing-en.md +108 -101
- package/docs/shareable-export-ch.md +4 -2
- package/docs/shareable-export-en.md +4 -2
- package/examples/integration/core/package.json +7 -7
- package/examples/integration/react/index.html +12 -12
- package/examples/integration/react/main.jsx +21 -21
- package/examples/integration/react/package.json +9 -9
- package/examples/integration/react-editor.tsx +74 -0
- package/examples/local/catalog.reactive.md +20 -20
- package/examples/local/checklist.reactive.md +32 -32
- package/examples/local/comparison.reactive.md +47 -47
- package/examples/local/components.reactive.md +44 -44
- package/examples/local/counter.reactive.md +7 -7
- package/examples/local/diagnostics.reactive.md +54 -54
- package/examples/local/diagram.reactive.md +44 -44
- package/examples/local/gallery.reactive.md +61 -61
- package/examples/local/parameters.reactive.md +36 -36
- package/examples/local/planning.reactive.md +24 -24
- package/examples/local/pricing.reactive.md +20 -20
- package/examples/local/zh/catalog.reactive.md +20 -20
- package/examples/local/zh/charts.reactive.md +73 -73
- package/examples/local/zh/checklist.reactive.md +32 -32
- package/examples/local/zh/comparison.reactive.md +47 -47
- package/examples/local/zh/components.reactive.md +44 -44
- package/examples/local/zh/counter.reactive.md +7 -7
- package/examples/local/zh/diagnostics.reactive.md +54 -54
- package/examples/local/zh/diagram.reactive.md +44 -44
- package/examples/local/zh/gallery.reactive.md +61 -61
- package/examples/local/zh/parameters.reactive.md +36 -36
- package/examples/local/zh/planning.reactive.md +24 -24
- package/examples/local/zh/pricing.reactive.md +20 -20
- package/package.json +133 -91
package/README.md
CHANGED
|
@@ -1,147 +1,176 @@
|
|
|
1
|
-
# Reactive MD
|
|
2
|
-
|
|
3
|
-
[English](README-en.md) · [中文](README-ch.md)
|
|
4
|
-
|
|
5
|
-
Write local interactive documents in Markdown. Add input controls, name parameters with `bind`, and connect prose, formulas, charts and diagrams with `{{ expressions }}`. Document authors do not write JavaScript or CSS.
|
|
6
|
-
|
|
7
|
-
Local mode uses HTML-style tags, with parameters and table data written directly in the prose; LaTeX formulas can drive function plots. The TypeScript core and the React renderer can be integrated independently. `0.
|
|
8
|
-
|
|
9
|
-
## Start here
|
|
10
|
-
|
|
11
|
-
- [Beginner guide](docs/local-guide-en.md): move from Markdown to interactive documents, with a complete exercise and an error quick reference.
|
|
12
|
-
- [Local interaction syntax specification](docs/local-interaction-syntax-en.md) · [Feature tours and examples](examples/local/README.md): 48 tag names, tags, in-place parameters and LaTeX plots.
|
|
13
|
-
- [Local mode integration](docs/local-integration-en.md): `compileLocal`, the state runtime, React embedding, URL policy and style scoping.
|
|
14
|
-
- [Shareable documents and static export](docs/shareable-export-en.md): single-file interactive HTML, static output, versioned state files, assets, the CLI and the standalone browser API.
|
|
15
|
-
- [Theme protocol](docs/theme-protocol-en.md): document theme selection, custom CSS and light/dark modes.
|
|
16
|
-
- [Author tools](docs/author-tools-en.md): source highlighting, completion, binding navigation, rename, formatting and command-line lint.
|
|
17
|
-
- [
|
|
18
|
-
- [
|
|
19
|
-
- [
|
|
20
|
-
- [
|
|
21
|
-
- [0.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
1
|
+
# Reactive MD
|
|
2
|
+
|
|
3
|
+
[English](README-en.md) · [中文](README-ch.md)
|
|
4
|
+
|
|
5
|
+
Write local interactive documents in Markdown. Add input controls, name parameters with `bind`, and connect prose, formulas, charts and diagrams with `{{ expressions }}`. Document authors do not write JavaScript or CSS.
|
|
6
|
+
|
|
7
|
+
Local mode uses HTML-style tags, with parameters and table data written directly in the prose; LaTeX formulas can drive function plots. The TypeScript core and the React renderer can be integrated independently. `0.5.0` is the preview for the `next` channel and adds the `reactive-md/editor` source editor; `latest` remains `0.4.0`. Syntax revision stays `local-draft-2`. See [README-ch.md](README-ch.md) for the Chinese overview.
|
|
8
|
+
|
|
9
|
+
## Start here
|
|
10
|
+
|
|
11
|
+
- [Beginner guide](docs/local-guide-en.md): move from Markdown to interactive documents, with a complete exercise and an error quick reference.
|
|
12
|
+
- [Local interaction syntax specification](docs/local-interaction-syntax-en.md) · [Feature tours and examples](examples/local/README.md): 48 tag names, tags, in-place parameters and LaTeX plots.
|
|
13
|
+
- [Local mode integration](docs/local-integration-en.md): `compileLocal`, the state runtime, React embedding, URL policy and style scoping.
|
|
14
|
+
- [Shareable documents and static export](docs/shareable-export-en.md): single-file interactive HTML, static output, versioned state files, assets, the CLI and the standalone browser API.
|
|
15
|
+
- [Theme protocol](docs/theme-protocol-en.md): document theme selection, custom CSS and light/dark modes.
|
|
16
|
+
- [Author tools](docs/author-tools-en.md): source highlighting, completion, binding navigation, rename, formatting and command-line lint.
|
|
17
|
+
- [React source editor](docs/editor-en.md): controlled editor, props, ref handle, diagnostics, locale, theme and history.
|
|
18
|
+
- [Standalone integration examples](examples/integration/README.md): Node core and React pages you can copy and run outside the repository.
|
|
19
|
+
- [Versions and compatibility](docs/compatibility-en.md): 0.x rules, migration, the diagnostics contract and supported platforms.
|
|
20
|
+
- [Component protocol](docs/component-protocol-en.md) · [Component development guide](docs/component-development-en.md): declarations, behavior contracts and compatibility acceptance for new components.
|
|
21
|
+
- [0.5.0 release notes](docs/release-0.5.0-en.md): the editor entry and document rendering fixes.
|
|
22
|
+
- [0.4.1 release notes](docs/release-0.4.1-en.md): visual and interaction fixes, compatible with 0.4.0.
|
|
23
|
+
- [0.4.0 release and migration](docs/release-0.4.0-en.md): what the minor series adds and how to upgrade from `0.3.1` / `local-draft-1`.
|
|
24
|
+
|
|
25
|
+
## Write a document
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
<panel title="Cost estimate">
|
|
29
|
+
<slider bind="people" label="People" initial="2" min="1" max="20">
|
|
30
|
+
<toggle bind="annual" label="Annual billing">
|
|
31
|
+
</panel>
|
|
32
|
+
|
|
33
|
+
Monthly cost: **{{ people * (annual ? 80 : 100) }} USD**.
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Inputs update the result immediately, and the panel includes a restore-defaults action. A standalone counter is a single line: `<counter label="People">`.
|
|
37
|
+
|
|
38
|
+
`0.4.0` adds `local-draft-2`, named calculations, validation, collections, themes and offline HTML export. The earlier `0.3.1` release uses `local-draft-1`. See [0.4.0 release and migration](docs/release-0.4.0-en.md).
|
|
39
|
+
|
|
40
|
+
## Install
|
|
41
|
+
|
|
42
|
+
Reactive MD requires Node.js 22.12 or newer and ships only ESM entries:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
npm install reactive-md
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
`latest` resolves to `0.4.0`. The 0.5.0 preview targets `next`:
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
npm install reactive-md@next
|
|
52
|
+
# or pin the preview
|
|
53
|
+
npm install reactive-md@0.5.0
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Read the [0.5.0 release notes](docs/release-0.5.0-en.md) before using the preview, and the [migration guide](docs/release-0.4.0-en.md) before upgrading from `0.3.1` / `local-draft-1`.
|
|
57
|
+
|
|
58
|
+
The `reactive-md` entry provides the local compiler, expressions and runtime; `reactive-md/react` provides the React renderer. Import component styles from `reactive-md/styles.css`. The `reactive-md/editor` entry provides the source editor with its own stylesheet at `reactive-md/editor/styles.css`. Existing renderer and style imports are unchanged in 0.5.0.
|
|
59
|
+
|
|
60
|
+
The core `reactive-md` entry does not depend on React:
|
|
61
|
+
|
|
62
|
+
```js
|
|
63
|
+
import { compileLocal, createLocalRuntime } from 'reactive-md';
|
|
64
|
+
|
|
65
|
+
const result = compileLocal('<number bind="n" label="Count" initial="2">');
|
|
66
|
+
if (result.ok) {
|
|
67
|
+
const runtime = createLocalRuntime(result.document);
|
|
68
|
+
try { console.log(runtime.text('Total: {{ n * 100 }}')); }
|
|
69
|
+
finally { runtime.dispose(); }
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
See [Local mode integration](docs/local-integration-en.md) for the full compile and runtime APIs, host URL policy, lifecycle and style overrides.
|
|
74
|
+
|
|
75
|
+
0.x minor releases may contain breaking changes. Before upgrading, read the [changelog](CHANGELOG.md) and [compatibility rules](docs/compatibility-en.md), and keep the original `.reactive.md` sources.
|
|
76
|
+
|
|
77
|
+
## Use with React
|
|
78
|
+
|
|
79
|
+
The React entry requires React 19:
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
npm install react@19 react-dom@19
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
```tsx
|
|
86
|
+
import { LocalReactiveDocument } from 'reactive-md/react';
|
|
87
|
+
import 'reactive-md/styles.css';
|
|
88
|
+
|
|
89
|
+
export function Article({ source }: { source: string }) {
|
|
90
|
+
return <LocalReactiveDocument source={source} />;
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
`LocalReactiveDocument` compiles and manages the runtime for you. To control compilation, lifecycle or URL policy yourself, use `LocalDocumentView` as described in [Local mode integration](docs/local-integration-en.md).
|
|
95
|
+
|
|
96
|
+
## Edit source with React
|
|
97
|
+
|
|
98
|
+
The 0.5.0 preview adds a reusable source editor at `reactive-md/editor`, with its own stylesheet at `reactive-md/editor/styles.css`. The component is controlled and requires React 19:
|
|
99
|
+
|
|
100
|
+
```tsx
|
|
101
|
+
import { useState } from 'react';
|
|
102
|
+
import { ReactiveMarkdownEditor } from 'reactive-md/editor';
|
|
103
|
+
import 'reactive-md/editor/styles.css';
|
|
104
|
+
|
|
105
|
+
export function Editor() {
|
|
106
|
+
const [source, setSource] = useState('# Notes');
|
|
107
|
+
return <ReactiveMarkdownEditor value={source} onChange={setSource} />;
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
The editor handles highlighting, formatting and insertion tools, completion, binding tools, undo and redo, and line numbers. It does not compile or render a preview; keep the source in your app and render it with `reactive-md/react`. See [React source editor](docs/editor-en.md) for the props, ref handle, diagnostics, themes, locales and history.
|
|
112
|
+
|
|
113
|
+
## Share documents
|
|
114
|
+
|
|
115
|
+
Build a self-contained HTML file that readers can open offline, or a script-free static snapshot:
|
|
116
|
+
|
|
117
|
+
```sh
|
|
118
|
+
npm run build
|
|
119
|
+
npx reactive-md build examples/local/counter.reactive.md -o counter.html
|
|
120
|
+
npx reactive-md build examples/local/counter.reactive.md -o counter-static.html --mode static
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The interactive file embeds the original source, React 19, the runtime, styles and any verified local images. It hydrates a static first screen, so it remains readable with JavaScript disabled. Use `--state-file doc.state.json` to export a saved `reactive-md-state/v1` baseline; without it, the author initial values are used and become the reader's reset baseline. The demo export dialog can save the current preview parameters as such a file.
|
|
124
|
+
|
|
125
|
+
See [Shareable documents and static export](docs/shareable-export-en.md) for image limits, CSP/security, printing, exit codes, `ReactiveMD.mount`/`mountAll` and `<reactive-md-doc>`.
|
|
126
|
+
|
|
127
|
+
## Try the demo
|
|
128
|
+
|
|
129
|
+
```sh
|
|
130
|
+
npm ci
|
|
131
|
+
npm run dev
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
The command builds the language package first, then starts the standalone `demo/` app at `http://127.0.0.1:5173`. `/embed.html` demonstrates the embedding approach. The masthead language toggle switches the demo between English and Chinese, and the choice is saved in the browser. The demo pages, editor, demo server, assets and browser checks all live in `demo/` and integrate through the package's public entries.
|
|
135
|
+
|
|
136
|
+
## Repository layout
|
|
137
|
+
|
|
138
|
+
```text
|
|
139
|
+
src/ Local syntax compilation, expressions, runtime and React renderer
|
|
140
|
+
examples/ Copyable local interactive examples, independent of the demo app
|
|
141
|
+
docs/ Local syntax specification, integration and release documentation
|
|
142
|
+
tests/ Language and renderer tests
|
|
143
|
+
demo/ Standalone Playground app
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Documentation
|
|
147
|
+
|
|
148
|
+
- [Beginner guide](docs/local-guide-en.md) and [local interaction syntax specification](docs/local-interaction-syntax-en.md).
|
|
149
|
+
- [Local mode integration](docs/local-integration-en.md): core and React API, URL policy, lifecycle, styling and version pinning.
|
|
150
|
+
- [Shareable documents and static export](docs/shareable-export-en.md): CLI build/lint, state files, local image inlining, printing and the standalone browser runtime.
|
|
151
|
+
- [Feature tours and examples](examples/local/README.md) and [standalone integrations](examples/integration/README.md).
|
|
152
|
+
- [React source editor](docs/editor-en.md): controlled editor for `.reactive.md` source, with its own stylesheet.
|
|
153
|
+
- [Versions and compatibility](docs/compatibility-en.md): 0.x rules, migration, diagnostics and supported platforms.
|
|
154
|
+
- [0.5.0 release notes](docs/release-0.5.0-en.md): the editor entry and document rendering fixes.
|
|
155
|
+
- [0.4.0 release and migration](docs/release-0.4.0-en.md): the upgrade checklist for that minor series.
|
|
156
|
+
- [Component protocol](docs/component-protocol-en.md) and [component development guide](docs/component-development-en.md): contribution contracts, a proposal template and acceptance cases.
|
|
157
|
+
- [Performance measurements](docs/performance-en.md) and [release checklist](docs/releasing-en.md).
|
|
158
|
+
|
|
159
|
+
See the [contributing guide](CONTRIBUTING.md) for development and test commands.
|
|
160
|
+
|
|
161
|
+
## Support and status
|
|
162
|
+
|
|
163
|
+
- CI targets Node 22.12 and Node 24 with Playwright Chromium; local browser checks use Microsoft Edge. The packed check covers static SSR, and `npm run test:shareable` covers the single-file export's static-first hydration. General SSR hydration outside that path, Firefox and WebKit remain unverified.
|
|
164
|
+
- 0.x minor releases may contain breaking changes. Persist the original `.reactive.md` source, not the runtime AST or in-memory state.
|
|
165
|
+
- `latest` is `0.4.0`; the `0.5.0` preview targets `next`. Security fixes may ship in minor releases.
|
|
166
|
+
|
|
167
|
+
## Contributing and security
|
|
168
|
+
|
|
169
|
+
- [Contributing guide](CONTRIBUTING.md): environment, check commands and change requirements.
|
|
170
|
+
- [Security policy](SECURITY.md): threat boundary, resource limits, host responsibilities and vulnerability reporting.
|
|
171
|
+
- [Changelog](CHANGELOG.md).
|
|
172
|
+
- [Release checklist](docs/releasing-en.md): the verification gate, notices, tarball and the manual release flow for maintainers.
|
|
173
|
+
|
|
174
|
+
## License
|
|
175
|
+
|
|
176
|
+
[MIT](LICENSE)
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
-
Reactive MD bundles its Markdown dependencies. The standalone HTML runtime also bundles React, React DOM and scheduler. This file preserves license texts for those installed dependency trees, including supporting type packages. The library React entry uses host-provided React and React DOM peers.
|
|
3
|
+
Reactive MD bundles its Markdown and syntax-highlighting dependencies. The standalone HTML runtime also bundles React, React DOM and scheduler. This file preserves license texts for those installed dependency trees, including supporting type packages. The library React entry uses host-provided React and React DOM peers.
|
|
4
4
|
|
|
5
5
|
Regenerate after dependency updates with `node scripts/generate-notices.mjs`.
|
|
6
6
|
|
|
@@ -32,6 +32,34 @@ MIT License
|
|
|
32
32
|
SOFTWARE
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## @types/hast@3.0.5
|
|
36
|
+
|
|
37
|
+
Declared license: MIT
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
MIT License
|
|
41
|
+
|
|
42
|
+
Copyright (c) Microsoft Corporation.
|
|
43
|
+
|
|
44
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
45
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
46
|
+
in the Software without restriction, including without limitation the rights
|
|
47
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
48
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
49
|
+
furnished to do so, subject to the following conditions:
|
|
50
|
+
|
|
51
|
+
The above copyright notice and this permission notice shall be included in all
|
|
52
|
+
copies or substantial portions of the Software.
|
|
53
|
+
|
|
54
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
55
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
56
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
57
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
58
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
59
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
60
|
+
SOFTWARE
|
|
61
|
+
```
|
|
62
|
+
|
|
35
63
|
## @types/mdast@4.0.4
|
|
36
64
|
|
|
37
65
|
Declared license: MIT
|
|
@@ -360,6 +388,42 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
360
388
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
361
389
|
```
|
|
362
390
|
|
|
391
|
+
## highlight.js@11.11.2
|
|
392
|
+
|
|
393
|
+
Declared license: BSD-3-Clause
|
|
394
|
+
|
|
395
|
+
```text
|
|
396
|
+
BSD 3-Clause License
|
|
397
|
+
|
|
398
|
+
Copyright (c) 2006, Ivan Sagalaev.
|
|
399
|
+
All rights reserved.
|
|
400
|
+
|
|
401
|
+
Redistribution and use in source and binary forms, with or without
|
|
402
|
+
modification, are permitted provided that the following conditions are met:
|
|
403
|
+
|
|
404
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
405
|
+
list of conditions and the following disclaimer.
|
|
406
|
+
|
|
407
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
408
|
+
this list of conditions and the following disclaimer in the documentation
|
|
409
|
+
and/or other materials provided with the distribution.
|
|
410
|
+
|
|
411
|
+
* Neither the name of the copyright holder nor the names of its
|
|
412
|
+
contributors may be used to endorse or promote products derived from
|
|
413
|
+
this software without specific prior written permission.
|
|
414
|
+
|
|
415
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
416
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
417
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
418
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
419
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
420
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
421
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
422
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
423
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
424
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
425
|
+
```
|
|
426
|
+
|
|
363
427
|
## is-plain-obj@4.1.0
|
|
364
428
|
|
|
365
429
|
Declared license: MIT
|
|
@@ -405,6 +469,35 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
405
469
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
406
470
|
```
|
|
407
471
|
|
|
472
|
+
## lowlight@3.3.0
|
|
473
|
+
|
|
474
|
+
Declared license: MIT
|
|
475
|
+
|
|
476
|
+
```text
|
|
477
|
+
(The MIT License)
|
|
478
|
+
|
|
479
|
+
Copyright (c) Titus Wormer <tituswormer@gmail.com>
|
|
480
|
+
|
|
481
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
482
|
+
a copy of this software and associated documentation files (the
|
|
483
|
+
'Software'), to deal in the Software without restriction, including
|
|
484
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
485
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
486
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
487
|
+
the following conditions:
|
|
488
|
+
|
|
489
|
+
The above copyright notice and this permission notice shall be
|
|
490
|
+
included in all copies or substantial portions of the Software.
|
|
491
|
+
|
|
492
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
493
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
494
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
495
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
496
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
497
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
498
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
499
|
+
```
|
|
500
|
+
|
|
408
501
|
## markdown-table@3.0.4
|
|
409
502
|
|
|
410
503
|
Declared license: MIT
|
package/bin/reactive-md.mjs
CHANGED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.reactive-md-editor .editor-toolbar{--editor-toolbar-bg:#161d29;--editor-toolbar-bg-deep:#101722;--editor-toolbar-border:#ffffff14;--editor-toolbar-line:#ffffff24;--editor-toolbar-ink:#b9c3d2;--editor-toolbar-ink-strong:#fff;--editor-toolbar-muted:#8b99ad;--editor-toolbar-hover:#ffffff14;--editor-toolbar-focus:#7aa2ff;--editor-toolbar-accent:#8fe3d4;z-index:20;width:100%;color:var(--editor-toolbar-ink);background:linear-gradient(180deg, #ffffff09, transparent 45%), linear-gradient(180deg, var(--editor-toolbar-bg), var(--editor-toolbar-bg-deep));border:0;border-bottom:1px solid var(--editor-toolbar-border);border-radius:calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;box-shadow:none;font-family:var(--font-sans,ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);flex-wrap:wrap;align-items:center;gap:2px;margin:0;padding:6px 8px;line-height:1;display:flex;position:relative}.reactive-md-editor .editor-toolbar,.reactive-md-editor .editor-toolbar *,.reactive-md-editor .editor-toolbar :before,.reactive-md-editor .editor-toolbar :after{box-sizing:border-box}.reactive-md-editor .editor-toolbar-slot{flex:none;align-items:center;display:inline-flex;position:relative}.reactive-md-editor .editor-toolbar-slot-native{margin-left:4px}.reactive-md-editor .editor-toolbar-mobile-only{display:none}.reactive-md-editor .editor-toolbar-button{appearance:none;width:30px;height:30px;color:var(--editor-toolbar-ink);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:2px;padding:0;transition:background-color .15s,color .15s,transform .1s,opacity .15s;display:inline-flex;position:relative}.reactive-md-editor .editor-toolbar-button:active:not(:disabled){background:#ffffff1f;transform:translateY(1px)scale(.97)}.reactive-md-editor .editor-toolbar-button[aria-expanded=true]{color:var(--editor-toolbar-ink-strong);background:#ffffff1f}.reactive-md-editor .editor-toolbar-button.is-active{color:#dbe7ff;background:#7aa2ff29;box-shadow:inset 0 0 0 1px #7aa2ff3d}.reactive-md-editor .editor-toolbar-button:disabled{opacity:.34;cursor:not-allowed}.reactive-md-editor .editor-toolbar-icon{flex:none;width:18px;height:18px;display:block}.reactive-md-editor .editor-toolbar-glyph{width:18px;height:18px;font-family:var(--font-sans,ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);justify-content:center;align-items:center;font-size:14px;font-weight:650;line-height:1;display:inline-flex}.reactive-md-editor .editor-toolbar-glyph.is-bold{letter-spacing:-.03em;font-size:15px;font-weight:850}.reactive-md-editor .editor-toolbar-glyph.is-italic{padding-right:1px;font-family:Georgia,Times New Roman,serif;font-size:16px;font-style:italic;font-weight:700}.reactive-md-editor .editor-toolbar-heading-trigger{gap:4px;width:auto;min-width:76px;padding:0 8px}.reactive-md-editor .editor-toolbar-heading-label{letter-spacing:.005em;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12.5px;font-weight:650;overflow:hidden}.reactive-md-editor .editor-toolbar-heading-label-compact{display:none}.reactive-md-editor .editor-toolbar-list-trigger{gap:0;width:auto;padding:0 4px}.reactive-md-editor .editor-toolbar-insert-trigger{gap:4px;width:auto;padding:0 7px 0 6px}.reactive-md-editor .editor-toolbar-insert-label{letter-spacing:.005em;white-space:nowrap;font-size:12px;font-weight:600}.reactive-md-editor .editor-toolbar-chevron{opacity:.55;width:9px;height:9px;margin-left:-1px;transition:opacity .15s}.reactive-md-editor .editor-toolbar-button:hover .editor-toolbar-chevron,.reactive-md-editor .editor-toolbar-button[aria-expanded=true] .editor-toolbar-chevron{opacity:.95}.reactive-md-editor .editor-toolbar-components-trigger{color:#d6e3ff;letter-spacing:.01em;background:linear-gradient(135deg,#4a80ff38,#2dd4bf26);border:1px solid #7aa2ff42;border-radius:999px;gap:5px;width:auto;min-width:94px;padding:0 10px 0 8px;font-size:12px;font-weight:650}.reactive-md-editor .editor-toolbar-components-trigger .editor-toolbar-icon{width:16px;height:16px;color:var(--editor-toolbar-accent)}.reactive-md-editor .editor-toolbar-components-label{white-space:nowrap}.reactive-md-editor .editor-toolbar-components-label-compact{display:none}.reactive-md-editor .editor-toolbar-components-trigger[aria-expanded=true]{color:#fff;background:linear-gradient(135deg,#548bff57,#2dd4bf3d);border-color:#8fe3d47a}.reactive-md-editor .editor-toolbar-history{align-items:center;gap:1px;margin-left:auto;display:flex}@container editor-frame (width<=500px){.reactive-md-editor .editor-toolbar{gap:1px}.reactive-md-editor .editor-toolbar-heading-trigger{padding-inline:5px}.reactive-md-editor .editor-toolbar-insert-trigger{gap:2px;padding-inline:4px}.reactive-md-editor .editor-toolbar-components-trigger{gap:3px;padding-inline:5px}.reactive-md-editor .editor-toolbar-history>.editor-toolbar-desktop-only{display:none}.reactive-md-editor .editor-toolbar-slot.editor-toolbar-mobile-only{display:inline-flex}.reactive-md-editor .editor-toolbar-more-menu .editor-toolbar-more-link{display:none}}@media (hover:hover) and (pointer:fine){.reactive-md-editor .editor-toolbar-button[data-tooltip]:after{content:attr(data-tooltip);z-index:90;color:#e6edf7;font-family:var(--font-sans,ui-sans-serif, system-ui, sans-serif);letter-spacing:0;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;background:#0b111c;border:1px solid #ffffff1f;border-radius:6px;padding:4px 7px;font-size:11.5px;font-weight:500;line-height:1.4;transition:opacity .12s,transform .12s,visibility .12s;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%,-2px);box-shadow:0 8px 20px -10px #000000e6}.reactive-md-editor .editor-toolbar-button[data-tooltip]:hover:after,.reactive-md-editor .editor-toolbar-button[data-tooltip]:focus-visible:after{opacity:1;visibility:visible;transform:translate(-50%)}.reactive-md-editor .editor-toolbar-button[aria-expanded=true]:after,.reactive-md-editor .editor-toolbar.is-menu-open .editor-toolbar-button[data-tooltip]:after{display:none}.reactive-md-editor .editor-toolbar-history .editor-toolbar-button[data-tooltip]:after{left:auto;right:0;transform:translateY(-2px)}.reactive-md-editor .editor-toolbar-history .editor-toolbar-button[data-tooltip]:hover:after,.reactive-md-editor .editor-toolbar-history .editor-toolbar-button[data-tooltip]:focus-visible:after{transform:translateY(0)}}.reactive-md-editor .editor-toolbar-popover{z-index:50;color:#dbe4f0;transform-origin:0 0;background:linear-gradient(#ffffff06,#0000 40%),linear-gradient(#151d2a,#101722 72%);border:1px solid #ffffff1a;border-radius:12px;animation:.13s ease-out editor-toolbar-pop-in;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 24px 50px -20px #000000e6,0 8px 22px -12px #0009,inset 0 1px #ffffff0d}.reactive-md-editor .editor-toolbar-heading-menu{width:min(204px,100vw - 24px);padding:6px}.reactive-md-editor .editor-toolbar-list-menu{width:min(220px,100vw - 24px);padding:6px}.reactive-md-editor .editor-toolbar-insert-menu{width:min(228px,100vw - 24px);padding:6px}.reactive-md-editor .editor-toolbar-more-menu{transform-origin:100% 0;width:min(188px,100vw - 24px);padding:6px;left:auto;right:0}.reactive-md-editor .editor-toolbar-menu-item{appearance:none;color:#c8d3e2;width:100%;min-height:32px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;padding:6px 9px;font-size:12.5px;transition:background-color .12s,color .12s;display:flex}.reactive-md-editor .editor-toolbar-menu-item:disabled{opacity:.36;cursor:not-allowed}.reactive-md-editor .editor-toolbar-menu-item[aria-checked=true]{color:#eef4ff;background:#548bff24}.reactive-md-editor .editor-toolbar-menu-item[aria-checked=true]:after{content:"✓";color:#9dbcff;margin-left:auto;font-size:12px;font-weight:700}.reactive-md-editor .editor-toolbar-menu-icon{color:#8fa2ba;width:16px;height:16px}.reactive-md-editor .editor-toolbar-menu-item[aria-checked=true] .editor-toolbar-menu-icon,.reactive-md-editor .editor-toolbar-menu-item:hover:not(:disabled) .editor-toolbar-menu-icon{color:#b9cff6}.reactive-md-editor .editor-toolbar-menu-divider{background:#ffffff14;height:1px;margin:4px 6px}.reactive-md-editor .editor-toolbar-heading-item{gap:9px;padding:5px 8px}.reactive-md-editor .editor-toolbar-list-item,.reactive-md-editor .editor-toolbar-insert-item,.reactive-md-editor .editor-toolbar-more-item{gap:9px}.reactive-md-editor .editor-toolbar-heading-sample{color:#93a4bb;flex:0 0 26px;justify-content:center;align-items:center;font-family:Georgia,Times New Roman,serif;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.reactive-md-editor .editor-toolbar-heading-sample.is-level-0{font-family:var(--font-sans,ui-sans-serif, system-ui, sans-serif);letter-spacing:.06em;font-size:10px}.reactive-md-editor .editor-toolbar-heading-sample.is-level-1{color:#c9d9fa;font-size:15px}.reactive-md-editor .editor-toolbar-heading-sample.is-level-2{color:#c2d2f1;font-size:14px}.reactive-md-editor .editor-toolbar-heading-sample.is-level-3{color:#b8c8e4;font-size:13px}.reactive-md-editor .editor-toolbar-heading-sample.is-level-4{color:#aebdd6;font-size:12px}.reactive-md-editor .editor-toolbar-heading-sample.is-level-5{color:#a3b1c8;font-size:11.5px}.reactive-md-editor .editor-toolbar-heading-sample.is-level-6{color:#98a6bb;font-size:11px}.reactive-md-editor .editor-toolbar-emoji-menu{width:min(300px,100vw - 24px);padding:8px}.reactive-md-editor .editor-toolbar-emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;display:grid}.reactive-md-editor .editor-toolbar-emoji{appearance:none;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;width:100%;height:30px;padding:0;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:17px;line-height:1;transition:background-color .12s,transform .1s;display:inline-flex}.reactive-md-editor .editor-toolbar-emoji:active{transform:scale(.92)}.reactive-md-editor .editor-toolbar-native-menu{transform-origin:100% 0;flex-direction:column;width:min(364px,100vw - 24px);max-height:min(430px,72vh);padding:8px;display:flex;left:auto;right:0;overflow:hidden}.reactive-md-editor .editor-toolbar-native-head{flex:none;justify-content:space-between;align-items:center;gap:8px;padding:2px 2px 8px;display:flex}.reactive-md-editor .editor-toolbar-native-title{color:#eef4ff;letter-spacing:.01em;font-size:13px;font-weight:700}.reactive-md-editor .editor-toolbar-close{appearance:none;color:#9aa9bd;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:background-color .12s,color .12s;display:inline-flex}.reactive-md-editor .editor-toolbar-close .editor-toolbar-icon{width:14px;height:14px}.reactive-md-editor .editor-toolbar-search{background:#ffffff0b;border:1px solid #ffffff17;border-radius:8px;flex:none;align-items:center;gap:7px;margin-bottom:6px;padding:6px 9px;transition:background-color .15s,border-color .15s,box-shadow .15s;display:flex}.reactive-md-editor .editor-toolbar-search:focus-within{background:#ffffff0f;border-color:#7aa2ffa6;box-shadow:0 0 0 2px #548bff2e}.reactive-md-editor .editor-toolbar-search-icon{color:#7f8fa6;width:15px;height:15px}.reactive-md-editor .editor-toolbar-search-input{appearance:none;color:#e6edf7;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none;flex:auto;margin:0;padding:0;font-size:12.5px;line-height:1.4}.reactive-md-editor .editor-toolbar-search-input::placeholder{color:#718096}.reactive-md-editor .editor-toolbar-search-input::-webkit-search-decoration{appearance:none}.reactive-md-editor .editor-toolbar-search-input::-webkit-search-cancel-button{appearance:none}.reactive-md-editor .editor-toolbar-native-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff2e transparent;flex:auto;min-height:0;max-height:300px;padding-right:3px;overflow-y:auto}.reactive-md-editor .editor-toolbar-native-scroll::-webkit-scrollbar{width:6px}.reactive-md-editor .editor-toolbar-native-scroll::-webkit-scrollbar-track{background:0 0}.reactive-md-editor .editor-toolbar-native-scroll::-webkit-scrollbar-thumb{background:#ffffff29;border-radius:999px}.reactive-md-editor .editor-toolbar-native-scroll::-webkit-scrollbar-thumb:hover{background:#ffffff42}.reactive-md-editor .editor-toolbar-native-group{padding:2px 0 4px}.reactive-md-editor .editor-toolbar-native-group+.editor-toolbar-native-group{border-top:1px solid #ffffff0f;margin-top:3px;padding-top:6px}.reactive-md-editor .editor-toolbar-native-group-title{color:#8595ac;letter-spacing:.09em;text-transform:uppercase;margin:2px 8px 5px;font-size:11px;font-weight:700}.reactive-md-editor .editor-toolbar-native-item{appearance:none;color:#c9d4e3;width:100%;min-height:42px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:7px 8px;transition:background-color .12s,color .12s;display:flex}.reactive-md-editor .editor-toolbar-native-copy{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.reactive-md-editor .editor-toolbar-native-label{color:#e5ecf7;align-items:center;gap:6px;font-size:13px;font-weight:600;line-height:1.35;display:flex}.reactive-md-editor .editor-toolbar-native-description{color:#95a4b9;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;line-height:1.5;display:block;overflow:hidden}.reactive-md-editor .editor-toolbar-native-badge{color:var(--editor-toolbar-accent);letter-spacing:.04em;border:1px solid #8fe3d447;border-radius:4px;flex:none;padding:0 4px;font-size:9px;font-weight:650;line-height:1.55}.reactive-md-editor .editor-toolbar-native-add{color:#7f93ad;opacity:.35;flex:none;width:14px;height:14px;transition:color .12s,opacity .12s}.reactive-md-editor .editor-toolbar-menu-empty{color:var(--editor-toolbar-muted);text-align:center;margin:16px 8px;font-size:12px;line-height:1.6}@media (hover:hover) and (pointer:fine){.reactive-md-editor .editor-toolbar-button:hover:not(:disabled){color:var(--editor-toolbar-ink-strong);background:var(--editor-toolbar-hover)}.reactive-md-editor .editor-toolbar-button.is-active:hover:not(:disabled){color:#eef4ff;background:#7aa2ff3b}.reactive-md-editor .editor-toolbar-components-trigger:hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#548bff52,#2dd4bf3d);border-color:#7aa2ff80}.reactive-md-editor .editor-toolbar-emoji:hover{background:#ffffff17}.reactive-md-editor .editor-toolbar-menu-item:hover:not(:disabled),.reactive-md-editor .editor-toolbar-native-item:hover{color:#fff;background:#ffffff14}.reactive-md-editor .editor-toolbar-native-item:hover .editor-toolbar-native-add{color:#93b6ff;opacity:1}.reactive-md-editor .editor-toolbar-close:hover{color:#fff;background:#ffffff14}}.reactive-md-editor .editor-toolbar-button:focus-visible,.reactive-md-editor .editor-toolbar-emoji:focus-visible,.reactive-md-editor .editor-toolbar-menu-item:focus-visible,.reactive-md-editor .editor-toolbar-native-item:focus-visible,.reactive-md-editor .editor-toolbar-close:focus-visible{outline:2px solid var(--editor-toolbar-focus);outline-offset:2px}.reactive-md-editor .editor-toolbar-emoji:focus-visible{outline-offset:1px}.reactive-md-editor .editor-toolbar-menu-item:focus-visible,.reactive-md-editor .editor-toolbar-native-item:focus-visible{outline-offset:-2px}@media (width<=640px){.reactive-md-editor .editor-toolbar{gap:0;padding:4px 2px}.reactive-md-editor .editor-toolbar-desktop-only{display:none!important}.reactive-md-editor .editor-toolbar-slot.editor-toolbar-mobile-only{display:inline-flex}.reactive-md-editor .editor-toolbar-slot-native{margin-left:1px}.reactive-md-editor .editor-toolbar-heading-trigger{gap:2px;min-width:44px;padding:0 4px}.reactive-md-editor .editor-toolbar-heading-label{font-size:12px}.reactive-md-editor .editor-toolbar-heading-label-full{display:none}.reactive-md-editor .editor-toolbar-heading-label-compact{display:inline}.reactive-md-editor .editor-toolbar-more-menu .editor-toolbar-more-link{display:flex}.reactive-md-editor .editor-toolbar-list-trigger{padding:0 1px}.reactive-md-editor .editor-toolbar-insert-trigger{gap:2px;padding:0 3px}.reactive-md-editor .editor-toolbar-insert-trigger .editor-toolbar-chevron{display:none}.reactive-md-editor .editor-toolbar-insert-label{font-size:11.5px}.reactive-md-editor .editor-toolbar-components-trigger{gap:3px;min-width:0;padding:0 6px 0 5px;font-size:11px}.reactive-md-editor .editor-toolbar-components-trigger .editor-toolbar-icon{width:14px;height:14px}.reactive-md-editor .editor-toolbar-components-label-full{display:none}.reactive-md-editor .editor-toolbar-components-label-compact{display:inline}.reactive-md-editor .editor-toolbar-history{gap:0}.reactive-md-editor .editor-toolbar-heading-menu{width:min(200px,100vw - 24px)}.reactive-md-editor .editor-toolbar-list-menu{width:min(208px,100vw - 48px)}.reactive-md-editor .editor-toolbar-insert-menu{transform-origin:100% 100%;width:min(216px,100vw - 24px);left:auto;right:0}.reactive-md-editor .editor-toolbar-more-menu{transform-origin:100% 100%;width:min(188px,100vw - 24px)}.reactive-md-editor .editor-toolbar-heading-menu,.reactive-md-editor .editor-toolbar-list-menu,.reactive-md-editor .editor-toolbar-insert-menu,.reactive-md-editor .editor-toolbar-more-menu{overscroll-behavior:contain;animation-name:editor-toolbar-pop-up;position:fixed;top:auto;bottom:calc(100% + 6px);overflow-y:auto}.reactive-md-editor .editor-toolbar-heading-menu,.reactive-md-editor .editor-toolbar-list-menu{transform-origin:0 100%}.reactive-md-editor .editor-toolbar-emoji-menu{z-index:80;overscroll-behavior:contain;transform-origin:bottom;width:auto;max-width:380px;margin:0 auto;position:fixed;inset:auto 8px 12px;overflow-x:auto}.reactive-md-editor .editor-toolbar-native-menu{z-index:80;transform-origin:bottom;width:auto;max-height:min(68vh,460px);position:fixed;inset:auto 10px 10px}.reactive-md-editor .editor-toolbar-native-scroll{max-height:none}}@media (width<=400px){.reactive-md-editor .editor-toolbar-heading-trigger{padding:0 2px}.reactive-md-editor .editor-toolbar-insert-trigger{padding:0 1px}.reactive-md-editor .editor-toolbar-components-trigger{gap:1px;padding:0 3px;font-size:10.5px}.reactive-md-editor .editor-toolbar-components-trigger .editor-toolbar-icon{width:13px;height:13px}}@media (pointer:coarse){.reactive-md-editor .editor-toolbar-button{border-radius:10px;width:44px;height:44px}.reactive-md-editor .editor-toolbar-heading-trigger,.reactive-md-editor .editor-toolbar-list-trigger,.reactive-md-editor .editor-toolbar-insert-trigger,.reactive-md-editor .editor-toolbar-components-trigger{width:auto;min-height:44px}.reactive-md-editor .editor-toolbar-heading-trigger,.reactive-md-editor .editor-toolbar-list-trigger{min-width:44px}.reactive-md-editor .editor-toolbar-menu-item,.reactive-md-editor .editor-toolbar-native-item,.reactive-md-editor .editor-toolbar-search{min-height:44px}.reactive-md-editor .editor-toolbar-emoji-menu{width:auto;padding:6px}.reactive-md-editor .editor-toolbar-emoji-grid{grid-template-columns:repeat(8,44px);justify-content:center;gap:1px}.reactive-md-editor .editor-toolbar-emoji,.reactive-md-editor .editor-toolbar-close{width:44px;height:44px}.reactive-md-editor .editor-toolbar-close .editor-toolbar-icon{width:18px;height:18px}.reactive-md-editor .editor-toolbar-native-item{padding:8px}}@media (prefers-reduced-motion:reduce){.reactive-md-editor .editor-toolbar-popover{animation:none}.reactive-md-editor .editor-toolbar-button,.reactive-md-editor .editor-toolbar-button[data-tooltip]:after,.reactive-md-editor .editor-toolbar-emoji,.reactive-md-editor .editor-toolbar-menu-item,.reactive-md-editor .editor-toolbar-native-item,.reactive-md-editor .editor-toolbar-native-add,.reactive-md-editor .editor-toolbar-close{transition-duration:.01ms}.reactive-md-editor .editor-toolbar-button:active:not(:disabled),.reactive-md-editor .editor-toolbar-emoji:active{transform:none}}@keyframes editor-toolbar-pop-in{0%{opacity:0;transform:translateY(-4px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes editor-toolbar-pop-up{0%{opacity:0;transform:translateY(4px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.reactive-md-editor .editor-input-wrap{flex:auto;min-width:0;min-height:0;display:flex;position:relative}.reactive-md-editor .editor-input-wrap>.editor-input{color:#0000;-webkit-text-fill-color:transparent;width:100%;height:100%;caret-color:var(--blue);flex:none;position:absolute;inset:0}.reactive-md-editor .editor-input-wrap>.editor-input::selection{background:color-mix(in srgb, var(--blue) 30%, transparent);color:#0000;-webkit-text-fill-color:transparent}.reactive-md-editor .author-highlight{height:100%;padding:var(--space-3) var(--space-4);color:var(--code-ink);font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--leading-normal);tab-size:2;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;top:0;left:0;right:0;overflow:hidden}.reactive-md-editor .author-highlight-content{will-change:transform;contain:layout style paint;transform:translate(0,0)}.reactive-md-editor .author-token-tag{color:color-mix(in srgb, var(--blue) 82%, var(--code-ink))}.reactive-md-editor .author-token-attribute{color:color-mix(in srgb, var(--teal) 72%, var(--code-ink))}.reactive-md-editor .author-token-string{color:color-mix(in srgb, var(--success) 78%, var(--code-ink))}.reactive-md-editor .author-token-expression{color:color-mix(in srgb, var(--warning) 74%, var(--code-ink))}.reactive-md-editor .author-token-binding{color:color-mix(in srgb, var(--blue-deep) 70%, var(--code-ink));text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--blue) 40%, transparent);text-decoration-color:color-mix(in srgb, var(--blue) 40%, transparent);text-underline-offset:2px}.reactive-md-editor .author-token-markdown{color:color-mix(in srgb, var(--code-ink) 78%, var(--code-bg))}.reactive-md-editor .author-token-math{color:color-mix(in srgb, var(--warning) 60%, var(--code-ink))}.reactive-md-editor .author-token-code{color:color-mix(in srgb, var(--code-ink) 62%, var(--code-bg))}.reactive-md-editor .author-token-comment{color:color-mix(in srgb, var(--code-ink) 52%, var(--code-bg))}.reactive-md-editor .editor-shell.is-composing .author-highlight{visibility:hidden}.reactive-md-editor .editor-shell.is-composing .editor-input-wrap>.editor-input{color:var(--code-ink);-webkit-text-fill-color:currentColor}@media (width<=620px){.reactive-md-editor .author-highlight{padding:var(--space-3);font-size:var(--text-xs)}}.reactive-md-editor .source-authoring{margin-top:var(--space-3);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);position:relative;overflow:hidden}.reactive-md-editor .authoring-bar{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);padding:var(--space-2) var(--space-3);background:var(--surface-subtle);border-bottom:1px solid var(--line);flex-wrap:wrap;display:flex}.reactive-md-editor .authoring-title{color:var(--ink-soft);font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:.04em;text-transform:uppercase}.reactive-md-editor .authoring-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.reactive-md-editor .authoring-button{min-height:var(--control-height-sm);padding:0 var(--space-3);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-control);color:var(--ink);font-size:var(--text-sm);font-weight:var(--weight-medium);cursor:pointer;transition:background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);line-height:1}.reactive-md-editor .authoring-button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--line-strong)}.reactive-md-editor .authoring-button:active:not(:disabled){background:var(--surface-active)}.reactive-md-editor .authoring-button:focus-visible{outline:var(--focus-outline);outline-offset:2px}.reactive-md-editor .authoring-button:disabled{opacity:var(--disabled-opacity);cursor:not-allowed}.reactive-md-editor .authoring-button.authoring-primary{background:var(--blue);border-color:var(--blue);color:var(--surface)}.reactive-md-editor .authoring-button.authoring-primary:hover:not(:disabled){background:var(--blue-deep);border-color:var(--blue-deep)}.reactive-md-editor .authoring-body{gap:var(--space-3);padding:var(--space-3);display:grid}.reactive-md-editor .authoring-caret{align-items:center;gap:var(--space-1) var(--space-2);color:var(--ink);font-size:var(--text-sm);flex-wrap:wrap;margin:0;display:flex}.reactive-md-editor .authoring-caret-value{align-items:center;gap:var(--space-1) var(--space-3);flex-wrap:wrap;min-width:0;display:flex}.reactive-md-editor .authoring-caret-value>strong{font-family:var(--font-mono);font-size:var(--text-sm);overflow-wrap:anywhere}.reactive-md-editor .authoring-type{padding:1px var(--space-2);background:var(--neutral-soft);border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--ink-soft);font-size:var(--text-xs)}.reactive-md-editor .authoring-label{color:var(--ink-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:.02em}.reactive-md-editor .authoring-muted,.reactive-md-editor .authoring-empty{color:var(--ink-muted);font-size:var(--text-sm);margin:0}.reactive-md-editor .authoring-row{gap:var(--space-1);min-width:0;display:grid}.reactive-md-editor .authoring-binding-list{gap:var(--space-1);flex-wrap:wrap;max-height:108px;display:flex;overflow:auto}.reactive-md-editor .authoring-binding-chip{align-items:center;gap:var(--space-1);max-width:100%;min-height:var(--control-height-sm);padding:0 var(--space-2);overflow-wrap:anywhere;background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--ink-soft);font-family:var(--font-mono);font-size:var(--text-xs);cursor:pointer;display:inline-flex}.reactive-md-editor .authoring-binding-chip:hover{background:var(--surface-hover);color:var(--ink)}.reactive-md-editor .authoring-binding-chip[aria-pressed=true]{background:color-mix(in srgb, var(--blue) 12%, var(--surface));border-color:var(--blue);color:var(--ink);box-shadow:inset 0 -2px 0 var(--blue)}.reactive-md-editor .authoring-binding-chip:focus-visible{outline:var(--focus-outline);outline-offset:2px}.reactive-md-editor .authoring-binding-count{color:var(--ink-muted);font-size:10px}.reactive-md-editor .authoring-locations{gap:var(--space-1);flex-wrap:wrap;display:flex}.reactive-md-editor .authoring-location{align-items:center;gap:var(--space-1);min-height:var(--control-height-sm);padding:0 var(--space-2);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-control);color:var(--ink-soft);font-size:var(--text-xs);cursor:pointer;flex-wrap:wrap;display:inline-flex}.reactive-md-editor .authoring-location:hover{background:var(--surface-hover);border-color:var(--line-strong);color:var(--ink)}.reactive-md-editor .authoring-location:focus-visible{outline:var(--focus-outline);outline-offset:2px}.reactive-md-editor .authoring-location.is-declaration{border-left:2px solid var(--blue)}.reactive-md-editor .authoring-location.is-reference{border-left:2px solid var(--success)}.reactive-md-editor .authoring-location-position{color:var(--ink-muted);font-family:var(--font-mono);font-size:10px}.reactive-md-editor .authoring-rename{gap:var(--space-1);padding-top:var(--space-3);border-top:1px solid var(--line);display:grid}.reactive-md-editor .authoring-rename-row{gap:var(--space-2);flex-wrap:wrap;display:flex}.reactive-md-editor .authoring-rename-input{min-width:0;min-height:var(--control-height-sm);padding:0 var(--space-3);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-control);color:var(--ink);font-family:var(--font-mono);font-size:var(--text-sm);flex:180px}.reactive-md-editor .authoring-rename-input:focus-visible{outline:var(--focus-outline);outline-offset:1px}.reactive-md-editor .authoring-rename-input:disabled{opacity:var(--disabled-opacity)}.reactive-md-editor .authoring-error{color:var(--danger);font-size:var(--text-xs);line-height:var(--leading-snug);margin:0}.reactive-md-editor .authoring-hint{color:var(--ink-muted);font-size:var(--text-xs);line-height:var(--leading-snug);margin:0}.reactive-md-editor .authoring-status{color:var(--success);font-size:var(--text-xs);line-height:var(--leading-snug);margin:0}.reactive-md-editor .authoring-completion{border-bottom:1px solid var(--line);background:var(--surface)}.reactive-md-editor .authoring-completion-head{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--ink-soft);font-size:var(--text-xs);font-weight:var(--weight-semibold);display:flex}.reactive-md-editor .authoring-completion-count{color:var(--ink-muted);font-weight:var(--weight-regular)}.reactive-md-editor .authoring-completion-list{max-height:220px;padding:0 var(--space-2) var(--space-2);overflow:auto}.reactive-md-editor .authoring-completion-item{align-items:baseline;gap:2px var(--space-2);width:100%;min-height:var(--control-height-sm);padding:var(--space-1) var(--space-2);border-radius:var(--radius-control);color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;grid-template-columns:auto minmax(0,1fr);display:grid}.reactive-md-editor .authoring-completion-item:hover,.reactive-md-editor .authoring-completion-item.is-active{background:color-mix(in srgb, var(--blue) 10%, var(--surface));border-color:var(--blue-line)}.reactive-md-editor .authoring-completion-item:focus-visible{outline:var(--focus-outline);outline-offset:1px}.reactive-md-editor .authoring-kind{padding:1px var(--space-1);background:var(--neutral-soft);border-radius:var(--radius-control);color:var(--ink-muted);font-size:10px;font-weight:var(--weight-semibold);text-transform:uppercase;white-space:nowrap}.reactive-md-editor .authoring-kind.is-tag{color:var(--blue-deep)}.reactive-md-editor .authoring-kind.is-attribute{color:var(--teal)}.reactive-md-editor .authoring-kind.is-binding{color:var(--warning)}.reactive-md-editor .authoring-completion-label{min-width:0;font-family:var(--font-mono);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reactive-md-editor .authoring-completion-detail{min-width:0;color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:10px;overflow:hidden}@media (width<=640px){.reactive-md-editor .authoring-bar,.reactive-md-editor .authoring-body{padding:var(--space-2)}.reactive-md-editor .authoring-button,.reactive-md-editor .authoring-binding-chip,.reactive-md-editor .authoring-location,.reactive-md-editor .authoring-rename-input,.reactive-md-editor .authoring-completion-item{min-height:var(--control-height-lg)}.reactive-md-editor .authoring-rename-input{flex-basis:100%}.reactive-md-editor .authoring-completion-list{max-height:180px}}.reactive-md-editor{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--surface:#fff;--surface-subtle:#f7f7f5;--surface-hover:color-mix(in srgb, var(--ink) 5%, var(--surface));--surface-active:color-mix(in srgb, var(--ink) 8%, var(--surface));--ink:#232323;--ink-soft:#4f4f4d;--ink-muted:#6f6f6c;--line:#e4e3df;--line-strong:#d0cfc9;--blue:#3f5f8f;--blue-deep:#33507a;--blue-soft:#eef1f6;--blue-line:#d8dfe9;--teal:#167875;--success:var(--teal);--warning:#8a5a10;--danger:#a2273a;--neutral-soft:#f1f0ed;--focus:var(--blue);--focus-outline:2px solid var(--focus);--focus-ring:0 0 0 2px color-mix(in srgb, var(--focus) 28%, transparent);--code-bg:#0f172a;--code-bg-deep:#0b1220;--code-ink:#dce6ff;--text-xs:12.5px;--text-sm:14px;--text-md:16px;--leading-tight:1.3;--leading-snug:1.5;--leading-normal:1.6;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--radius-control:6px;--radius-card:12px;--radius-pill:999px;--radius-md:var(--radius-card);--control-height-sm:32px;--control-height-lg:44px;--control-inset-x:19px;--disabled-opacity:.45;--motion-fast:.16s;--ease-standard:cubic-bezier(.22, .61, .36, 1);--font-sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;--font-mono:"Cascadia Code", "Consolas", "SFMono-Regular", "Menlo", "Liberation Mono", monospace;min-width:0;color:var(--ink);font-family:var(--font-sans);font-size:var(--text-sm);line-height:var(--leading-normal);flex-direction:column;display:flex}.reactive-md-editor,.reactive-md-editor *,.reactive-md-editor :before,.reactive-md-editor :after{box-sizing:border-box}.reactive-md-editor button,.reactive-md-editor input,.reactive-md-editor textarea{font:inherit}.reactive-md-editor[data-editor-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#1b1b1d;--surface-subtle:#202022;--surface-hover:color-mix(in srgb, var(--ink) 8%, var(--surface));--surface-active:color-mix(in srgb, var(--ink) 12%, var(--surface));--ink:#ecebe7;--ink-soft:#c3c1bb;--ink-muted:#9b9993;--line:#343436;--line-strong:#4d4d4f;--blue:#47679f;--blue-deep:#5574ad;--blue-soft:#232a35;--blue-line:#37445a;--teal:#68ccc2;--success:var(--teal);--warning:#f0b84f;--danger:#ffa0ae;--neutral-soft:#26262a;--focus:#a9bce3;--focus-ring:0 0 0 2px color-mix(in srgb, var(--focus) 28%, transparent)}@media (prefers-color-scheme:dark){.reactive-md-editor[data-editor-theme=auto]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#1b1b1d;--surface-subtle:#202022;--surface-hover:color-mix(in srgb, var(--ink) 8%, var(--surface));--surface-active:color-mix(in srgb, var(--ink) 12%, var(--surface));--ink:#ecebe7;--ink-soft:#c3c1bb;--ink-muted:#9b9993;--line:#343436;--line-strong:#4d4d4f;--blue:#47679f;--blue-deep:#5574ad;--blue-soft:#232a35;--blue-line:#37445a;--teal:#68ccc2;--success:var(--teal);--warning:#f0b84f;--danger:#ffa0ae;--neutral-soft:#26262a;--focus:#a9bce3;--focus-ring:0 0 0 2px color-mix(in srgb, var(--focus) 28%, transparent)}}.reactive-md-editor .reactive-md-editor-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.reactive-md-editor .editor-frame{background:var(--code-bg);border:1px solid color-mix(in srgb, var(--code-ink) 12%, var(--code-bg));border-radius:var(--radius-card);min-width:0;height:560px;min-height:280px;transition:border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);flex-direction:column;display:flex;position:relative;overflow:visible;container:editor-frame/inline-size}.reactive-md-editor .editor-frame:focus-within{border-color:var(--focus);box-shadow:var(--focus-ring)}.reactive-md-editor .editor-shell{background:var(--code-bg);border-radius:0 0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px);border:0;flex:auto;height:auto;min-height:0;display:flex;position:relative;overflow:hidden}.reactive-md-editor .editor-gutter{flex:0 0 var(--space-7);padding:var(--space-3) 0;background:var(--code-bg-deep);border-right:1px solid color-mix(in srgb, var(--code-ink) 10%, var(--code-bg-deep));color:color-mix(in srgb, var(--code-ink) 48%, var(--code-bg-deep));font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--leading-normal);text-align:right;-webkit-user-select:none;user-select:none;overflow:hidden}.reactive-md-editor .gutter-line{padding-right:var(--space-2);white-space:nowrap;border-left:2px solid #0000;display:block}.reactive-md-editor .gutter-line.is-active{background:color-mix(in srgb, var(--blue) 18%, transparent);border-left-color:var(--blue);color:var(--code-ink)}.reactive-md-editor .gutter-line.is-diagnostic{border-left-color:color-mix(in srgb, var(--danger) 80%, var(--code-ink));color:color-mix(in srgb, var(--danger) 58%, var(--code-ink))}.reactive-md-editor .editor-input{min-width:0;padding:var(--space-3) var(--space-4);color:var(--code-ink);caret-color:var(--blue);font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--leading-normal);tab-size:2;resize:none;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;background:0 0;border:0;outline:none;flex:auto;overflow:auto}.reactive-md-editor .editor-mirror{visibility:hidden;pointer-events:none;padding:var(--space-3) var(--space-4);font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--leading-normal);tab-size:2;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;position:absolute;top:0;left:0}.reactive-md-editor .editor-input::placeholder{color:color-mix(in srgb, var(--code-ink) 40%, var(--code-bg))}.reactive-md-editor .editor-input:disabled{opacity:.72;cursor:not-allowed}@media (width<=620px){.reactive-md-editor .editor-gutter{font-size:var(--text-xs);flex-basis:40px}.reactive-md-editor .editor-input,.reactive-md-editor .editor-mirror{padding:var(--space-3);font-size:var(--text-xs)}}
|
|
2
|
+
/*$vite$:1*/
|