marp-share / client /src /sample.ts
Nipun's picture
Deploy marp-share (M1–M5): realtime + persistence + HF auth + comments + export
43370b3 verified
Raw
History Blame Contribute Delete
819 Bytes
export const SAMPLE = `---
marp: true
theme: default
paginate: true
---
# marp-share
Collaborative **Marp** editing — *Overleaf + Google Slides for Markdown*.
This is **M1**: a live editor with instant slide preview.
---
## How it works
- Type Markdown on the **left**
- Slides render **live** on the right
- Click a **thumbnail** to jump to a slide
---
## Code renders too
\`\`\`python
def greet(name: str) -> str:
return f"Hello, {name}!"
print(greet("marp-share"))
\`\`\`
---
## Lists, quotes, emphasis
> "The best way to predict the future is to invent it."
1. Real-time multi-cursor (Yjs)
2. Comments anchored to text
3. Sign in with Hugging Face
4. Export to PDF / PPTX
---
## What's next
**M2** brings real-time collaboration.
Stay tuned — and start typing to see this update! ✍️
`