Intermediate

Markdown Editor

A practical Svelte example: Build a markdown editor with live preview and syntax highlighting

What You'll Learn

Project Structure

markdown-editor/
├── src/
│   ├── lib/
│   │   ├── Editor.svelte
│   │   ├── Preview.svelte
│   │   ├── Toolbar.svelte
│   │   └── SplitPane.svelte
│   ├── utils/
│   │   ├── markdown.js
│   │   └── storage.js
│   └── App.svelte
├── public/
│   ├── themes/
│   └── index.html
└── package.json

Key Features

Get Started