Spaces:
Sleeping
Sleeping
| // Default content seeded into a brand-new deck (server-side, in onLoadDocument) so | |
| // clients never race to seed the same document. | |
| export const DEFAULT_DECK = `--- | |
| marp: true | |
| theme: default | |
| paginate: true | |
| --- | |
| # marp-share | |
| Collaborative **Marp** editing — *Overleaf + Google Slides for Markdown*. | |
| Open this page in a second window to see **real-time** editing. ✍️ | |
| --- | |
| ## How it works | |
| - Type Markdown on the **left** — everyone sees it instantly | |
| - Slides render **live** on the right | |
| - Coloured cursors show who is editing where | |
| --- | |
| ## Code & math render too | |
| \`\`\`python | |
| def greet(name: str) -> str: | |
| return f"Hello, {name}!" | |
| \`\`\` | |
| $$ e^{i\\pi} + 1 = 0 $$ | |
| --- | |
| ## Roadmap | |
| 1. ✅ Real-time multi-cursor (Yjs) | |
| 2. Git-backed persistence + history | |
| 3. Sign in with Hugging Face | |
| 4. Comments + PDF / PPTX export | |
| ` | |