Repository navigation
Marklet 1.0.0
First release of Marklet, a from-scratch rewrite of marqdown 1.8.0 by Reiner Kempkes (unmaintained since 2020).
Added
- Open and save files in place (File System Access API), with download fallback; drag and drop; Save as.
- Export to standalone styled HTML, print/PDF layout, copy as formatted text or as HTML source.
- Footnotes, heading anchors, clickable task lists in the preview.
- Line-based scroll sync in both directions.
- Find and replace, code folding, multi-cursor editing (CodeMirror 6).
- Light, dark and automatic themes; editor-only, split and preview-only layouts; swappable sides.
- Word, character, line and reading-time counts, also for the selection.
- Highlighting for more languages, including R, SAS, PowerShell, Go, Rust, Kotlin and SQL dialects.
- Automatic migration of the last marqdown v1 session.
- Unit and browser end-to-end tests and reproducible builds.
make release: publishes a Codeberg release from the maintainer's machine, withmarklet.htmland its SHA-256 checksum, after running every check and confirming the build matches the committed file.make release-dry-runshows what would be published.
Changed (compared with marqdown 1.8.0)
- Formatting shortcuts moved off keys that browsers reserve (
Ctrl+1…6,Ctrl+L,Ctrl+H,Ctrl+O). - Files are accepted by extension instead of reported MIME type, which was often missing for
.md. - No runtime decompression: the file is plain (minified) HTML and JavaScript.
- Build moved from Gulp 3, CoffeeScript, Pug and LESS to Vite and TypeScript.
Security
- All rendered HTML is sanitised with DOMPurify. In marqdown, a crafted Markdown file could run script.
- Content Security Policy: no network access at all, and scripts allowed by hash only.