You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`summary`|`boolean`|`false`| Only render content before `<!-- more -->`|
104
-
|[`caret`](#caret)|`boolean \| { class: string }`|`false`| Append caret to last text node |
105
-
|[`data`](#code-data)|`Record<string, unknown>`|`{}`| Runtime values referenced from markdown via `:prop="data.path"`|
104
+
|[`caret`](#streaming-caret)|`boolean \| { class: string }`|`false`| Append caret to last text node |
105
+
|[`data`](#code-comark-props-code-data)|`Record<string, unknown>`|`{}`| Runtime values referenced from markdown via `:prop="data.path"`|
106
106
107
107
#### `options`
108
108
@@ -328,13 +328,13 @@ import { AppComark } from './comark'
328
328
329
329
| Option | Type | Default | Description |
330
330
|--------|------|---------|-------------|
331
-
|[`extends`](#extends)|`ReturnType<typeof defineComarkComponent>`|`undefined`| Inherit plugins and components from another component |
331
+
|[`extends`](#code-comark-code-definecomarkcomponent-code-extends)|`ReturnType<typeof defineComarkComponent>`|`undefined`| Inherit plugins and components from another component |
332
332
|`name`|`string`|`undefined`| Component name for debugging |
333
333
|`autoUnwrap`|`boolean`|`true`| Automatically unwrap single block elements |
|[`caret`](#caret)|`boolean \| { class: string }`|`false`| Append a blinking caret to the last text node |
437
-
|[`data`](#code-data)|`Record<string, unknown>`|`{}`| Runtime values referenced from markdown via `:prop="data.path"`|
436
+
|[`caret`](#streaming-caret)|`boolean \| { class: string }`|`false`| Append a blinking caret to the last text node |
437
+
|[`data`](#code-comark-props-code-data)|`Record<string, unknown>`|`{}`| Runtime values referenced from markdown via `:prop="data.path"`|
438
438
439
439
### `defineComarkRendererComponent`
440
440
@@ -483,9 +483,9 @@ const tree = await res.json()
483
483
484
484
| Option | Type | Default | Description |
485
485
|--------|------|---------|-------------|
486
-
|[`extends`](#inheritance)|`ReturnType<typeof defineComarkRendererComponent>`|`undefined`| Inherit component mappings from another renderer |
486
+
|[`extends`](#code-comarkrenderer-code-definecomarkrenderercomponent-inheritance)|`ReturnType<typeof defineComarkRendererComponent>`|`undefined`| Inherit component mappings from another renderer |
487
487
|`name`|`string`|`undefined`| Component name for debugging |
|[`caret`](#caret)|`boolean \| { class: string }`|`false`| Append caret to last text node |
93
-
|[`data`](#code-data)|`Record<string, unknown>`|`undefined`| Runtime values referenced from markdown via `:prop="data.path"`|
92
+
|[`caret`](#streaming-caret)|`boolean \| { class: string }`|`false`| Append caret to last text node |
93
+
|[`data`](#code-comark-props-code-data)|`Record<string, unknown>`|`undefined`| Runtime values referenced from markdown via `:prop="data.path"`|
94
94
|`className`|`string`|`undefined`| CSS class for wrapper element |
95
95
96
96
#### `options`
@@ -291,13 +291,13 @@ export default function App() {
291
291
292
292
| Option | Type | Default | Description |
293
293
|--------|------|---------|-------------|
294
-
|[`extends`](#extends)|`ReturnType<typeof defineComarkComponent>`|`undefined`| Inherit plugins and components from another component |
294
+
|[`extends`](#code-comark-code-definecomarkcomponent-code-extends)|`ReturnType<typeof defineComarkComponent>`|`undefined`| Inherit plugins and components from another component |
295
295
|`name`|`string`|`undefined`| Component name for debugging |
296
296
|`autoUnwrap`|`boolean`|`true`| Automatically unwrap single block elements |
|[`extends`](#inheritance)|`ReturnType<typeof defineComarkRendererComponent>`|`undefined`| Inherit component mappings from another renderer |
452
+
|[`extends`](#code-comarkrenderer-code-definecomarkrenderercomponent-inheritance)|`ReturnType<typeof defineComarkRendererComponent>`|`undefined`| Inherit component mappings from another renderer |
453
453
|`name`|`string`|`undefined`| Component name for debugging |
0 commit comments