This is a repository used for preview.md - an online Markdown editor with live preview.
- Github-inspired Markdown rendering, including syntax highlighting in the code blocks.
- Support for Github-Flavored Markdown.
- Markdown syntax highlighting in the editor.
- Syntax highlighting in the code blocks in the editor.
- Scroll synchronization.
- Copy raw markdown or resulting HTML with one click.
- Change panes orientation (horizontal / vertical).
- Mobile support.
- Saving state, including content, in local storage.
- node.js v21.1.0
- yarn
-
Clone the repository
git clone https://github.com/potasiak/preview.md.git
-
Install dependencies
cd preview.md/ yarn
VITE_GA_TAG_ID
- Google Analytics Tag
yarn dev
yarn build
yarn preview # local HTTP server serving built application