English | 中文
A secure Markdown editor for local sharing. All content is stored in URL hash, making sharing simple while keeping your data in the browser.
- Real-time Markdown preview
- Code syntax highlighting
- Share via URL
- Preview in separate page
- Keyboard shortcuts (Ctrl+S / Cmd+S to save)
- Responsive design
- Dark mode editor
- Vue 3
- Vite
- Monaco Editor
- Marked.js
- Node.js (v14+)
- pnpm
# Clone the repository
git clone https://github.com/if-nil/sth-preview.git
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm build
- Write your Markdown content in the left editor
- See real-time preview on the right
- Click "Save" or press Ctrl+S/Cmd+S to save to URL
- Click "Share" to get a shareable link
- Click "Preview" to view in a clean reading mode