File size: 819 Bytes
43370b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
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! ✍️
`