Skip to content

Commit 25c53b0

Browse files
committed
fix: comark reference
1 parent b0722ab commit 25c53b0

6 files changed

Lines changed: 11 additions & 7 deletions

File tree

docs/components.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ declare module 'vue' {
3131
CarbonPen: typeof import('~icons/carbon/pen')['default']
3232
CarbonSettingsAdjust: typeof import('~icons/carbon/settings-adjust')['default']
3333
CarbonSun: typeof import('~icons/carbon/sun')['default']
34+
CarbonTemplate: typeof import('~icons/carbon/template')['default']
3435
CarbonTextAnnotationToggle: typeof import('~icons/carbon/text-annotation-toggle')['default']
3536
CarbonUserAvatar: typeof import('~icons/carbon/user-avatar')['default']
3637
CarbonUserSpeaker: typeof import('~icons/carbon/user-speaker')['default']
@@ -113,6 +114,7 @@ declare global {
113114
const CarbonPen: typeof import('~icons/carbon/pen')['default']
114115
const CarbonSettingsAdjust: typeof import('~icons/carbon/settings-adjust')['default']
115116
const CarbonSun: typeof import('~icons/carbon/sun')['default']
117+
const CarbonTemplate: typeof import('~icons/carbon/template')['default']
116118
const CarbonTextAnnotationToggle: typeof import('~icons/carbon/text-annotation-toggle')['default']
117119
const CarbonUserAvatar: typeof import('~icons/carbon/user-avatar')['default']
118120
const CarbonUserSpeaker: typeof import('~icons/carbon/user-speaker')['default']

docs/guide/animations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,12 +389,12 @@ Experimental: This is not supported by all browsers. Check the [Browser compatib
389389

390390
You can use the `view-transition-name` CSS property to name view transitions, which creates connections between different page elements and smooth transitions when switching slides.
391391

392-
You can enable [MDC (Markdown Component) Syntax](/guide/syntax#mdc-syntax) support to conveniently name view-transitions:
392+
You can enable [Comark Syntax](/guide/syntax#comark-syntax) support to conveniently name view-transitions:
393393

394394
```md
395395
---
396396
transition: view-transition
397-
mdc: true
397+
comark: true
398398
---
399399

400400
# View Transition {.inline-block.view-transition-title}

docs/guide/syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ Slidev supports [Mermaid](https://mermaid.js.org/) and [PlantUML](https://plantu
163163
<LinkCard link="features/mermaid" />
164164
<LinkCard link="features/plantuml" />
165165

166-
## MDC Syntax {#mdc-syntax}
166+
## Comark Syntax {#comark-syntax}
167167

168-
MDC Syntax is the easiest way to apply styles and classes to elements:
168+
Comark Syntax is the easiest way to apply styles and classes to elements:
169169

170-
<LinkCard link="features/mdc" />
170+
<LinkCard link="features/comark" />
171171

172172
## Scoped CSS {#scoped-css}
173173

packages/client/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const HEADMATTER_FIELDS = [
8282
'drawings',
8383
'htmlAttrs',
8484
'mdc',
85+
'comark',
8586
'contextMenu',
8687
'wakeLock',
8788
'seoMeta',

packages/parser/src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export function getDefaultConfig(): SlidevConfig {
4646
wakeLock: true,
4747
remote: false,
4848
mdc: false,
49+
comark: false,
4950
seoMeta: {},
5051
notesAutoRuby: {},
5152
duration: '30min',

skills/slidev/references/core-syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ Alice -> Bob : Hello
117117
```
118118
````
119119

120-
## MDC Syntax
120+
## Comark Syntax
121121

122-
Enable with `mdc: true`:
122+
Enable with `comark: true`:
123123

124124
```md
125125
[styled text]{style="color:red"}

0 commit comments

Comments
 (0)