Marker is a simple and clean markdown editor in the browser.
Table of Contents generated with DocToc
- Safe - Equipped with a HTML sanitizer to prevent XSS attacks.
- Lightweight (Kinda) - The bundled JS file is under 100kb.
- Fast - Load almost instantly.
- Easy to use - Just type your markdown and hit
Preview
.
Marker uses the following to work properly:
- Mithril - Cool hyperscript web framework
- Marked - Markdown-to-HTML converter
- DOMPurify - Sanitize HTML output
- ESbuild - Bundle the JS file
- Water.css - Light theme
- Bitter - Newspaper-style font
- Make sure you have Yarn installed.
- Clone this repository:
git clone https://github.com/HoangTuan110/marker
- Run:
yarnpkg install
yarnpkg build
To build the project
4. Finally, use a static file server (like serve
) to serve the HTML file.
5. And you are done!
An open source project by @HoangTuan110. Made in Vietnam.
MIT