feat: Complete fleet — 94 skills across 10+ domains
Pulled ALL skills from 15 source repositories: - anthropics/skills: 16 (docs, design, MCP, testing) - obra/superpowers: 14 (TDD, debugging, agents, planning) - coreyhaines31/marketingskills: 25 (marketing, CRO, SEO, growth) - better-auth/skills: 5 (auth patterns) - vercel-labs/agent-skills: 5 (React, design, Vercel) - antfu/skills: 16 (Vue, Vite, Vitest, pnpm, Turborepo) - Plus 13 individual skills from various repos Mosaic Stack is not limited to coding — the Orchestrator and subagents serve coding, business, design, marketing, writing, logistics, analysis, and more. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
155
skills/slidev/references/core-syntax.md
Normal file
155
skills/slidev/references/core-syntax.md
Normal file
@@ -0,0 +1,155 @@
|
||||
---
|
||||
name: syntax
|
||||
description: Core Markdown syntax for Slidev presentations
|
||||
---
|
||||
|
||||
# Slidev Markdown Syntax
|
||||
|
||||
Core Markdown syntax for Slidev presentations.
|
||||
|
||||
## Slide Separator
|
||||
|
||||
Use `---` with blank lines before and after:
|
||||
|
||||
```md
|
||||
# Slide 1
|
||||
|
||||
Content
|
||||
|
||||
---
|
||||
|
||||
# Slide 2
|
||||
|
||||
More content
|
||||
```
|
||||
|
||||
## Headmatter (Deck Config)
|
||||
|
||||
First frontmatter block configures the entire deck:
|
||||
|
||||
```md
|
||||
---
|
||||
theme: default
|
||||
title: My Presentation
|
||||
lineNumbers: true
|
||||
---
|
||||
|
||||
# First Slide
|
||||
```
|
||||
|
||||
## Per-Slide Frontmatter
|
||||
|
||||
Each slide can have its own frontmatter:
|
||||
|
||||
```md
|
||||
---
|
||||
layout: center
|
||||
background: /image.jpg
|
||||
class: text-white
|
||||
---
|
||||
|
||||
# Centered Slide
|
||||
```
|
||||
|
||||
## Presenter Notes
|
||||
|
||||
HTML comments at end of slide become presenter notes:
|
||||
|
||||
```md
|
||||
# My Slide
|
||||
|
||||
Content here
|
||||
|
||||
<!--
|
||||
These are presenter notes.
|
||||
- Remember to mention X
|
||||
- Demo the feature
|
||||
-->
|
||||
```
|
||||
|
||||
## Code Blocks
|
||||
|
||||
Standard Markdown with Shiki highlighting:
|
||||
|
||||
````md
|
||||
```ts
|
||||
const hello = 'world'
|
||||
```
|
||||
````
|
||||
|
||||
With features:
|
||||
````md
|
||||
```ts {2,3} // Line highlighting
|
||||
```ts {1|2-3|all} // Click-based highlighting
|
||||
```ts {monaco} // Monaco editor
|
||||
```ts {monaco-run} // Runnable code
|
||||
```ts twoslash // TypeScript types
|
||||
```
|
||||
````
|
||||
|
||||
## LaTeX Math
|
||||
|
||||
Inline: `$E = mc^2$`
|
||||
|
||||
Block:
|
||||
```md
|
||||
$$
|
||||
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
|
||||
$$
|
||||
```
|
||||
|
||||
## Diagrams
|
||||
|
||||
Mermaid:
|
||||
````md
|
||||
```mermaid
|
||||
graph LR
|
||||
A --> B --> C
|
||||
```
|
||||
````
|
||||
|
||||
PlantUML:
|
||||
````md
|
||||
```plantuml
|
||||
@startuml
|
||||
Alice -> Bob : Hello
|
||||
@enduml
|
||||
```
|
||||
````
|
||||
|
||||
## MDC Syntax
|
||||
|
||||
Enable with `mdc: true`:
|
||||
|
||||
```md
|
||||
[styled text]{style="color:red"}
|
||||
{width=500px}
|
||||
::component{prop="value"}
|
||||
```
|
||||
|
||||
## Scoped CSS
|
||||
|
||||
Styles apply only to current slide:
|
||||
|
||||
```md
|
||||
# Red Title
|
||||
|
||||
<style>
|
||||
h1 { color: red; }
|
||||
</style>
|
||||
```
|
||||
|
||||
## Import Slides
|
||||
|
||||
```md
|
||||
---
|
||||
src: ./pages/intro.md
|
||||
---
|
||||
```
|
||||
|
||||
Import specific slides:
|
||||
```md
|
||||
---
|
||||
src: ./other.md#2,5-7
|
||||
---
|
||||
```
|
||||
Reference in New Issue
Block a user