Enhanced Markdown Editor for Standard Notes

Boost Standard Notes with a powerful, unofficial Markdown editor featuring live preview, formatting toolbar, image pasting/uploading with auto-resize, and PDF export. Unused images are auto-cleaned for efficiency.

Verze ze dne 21. 06. 2025. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
koyasi777
Hodnocení
0 0 0
Verze
3.7.8
Vytvořeno
20. 06. 2025
Aktualizováno
21. 06. 2025
Size
225,4 KB
Licence
MIT
Spustit na

Add Markdown Editor to Standard Notes ✨

📌 Overview

This userscript enhances Standard Notes (web version) by seamlessly replacing the default editor with a full-featured Markdown editor. It offers a rich formatting toolbar, live preview, split view, image support, print-friendly styles, and PDF export—all client-side and privacy-safe.


✨ Key Features

  • 🛠️ Toolbar buttons for headings, bold, italic, lists, checkboxes, quotes, code blocks, links, tables, horizontal rules, and more
  • 🔀 Switch between Editor, Split, and Preview modes
  • 🖨 One-click Print / Export to PDF
  • 🌙 Dark mode–aware, responsive design
  • 🖼 Image insertion:
    • Paste from clipboard → automatically resizes (max 1280px) + base64 embed
    • Upload via UI or insert via URL
    • Garbage-collector: automatically removes unused pasted image data
  • 🧼 Clean print layout & syntax highlighting with copy-to-clipboard support
  • 🔐 Fully client-side, with no external data leaks (processed entirely in-browser)
  • 🧹 Uses marked.js, DOMPurify, and highlight.js for safe and rich Markdown rendering

⚠️ Unofficial enhancement, not affiliated with Standard Notes, Inc.


🚀 Installation Guide

  1. Install a userscript manager:
  2. Install the userscript: 👉 Click to install
  3. Navigate to https://app.standardnotes.com/ – the enhanced Markdown editor activates automatically.

💡 The script detects the default plain‑text editor and injects the Markdown UI.


🔍 Feature Overview

Feature Description
Toolbar Insert headings, bold/italic, lists, checkboxes, quotes, code blocks, links, tables, HR
Modes Editor / Split / Preview views with live sync
Preview Sanitized HTML rendering with syntax highlighting and clipboard support
Image Handling Paste or upload → resized + embedded; unused images auto‑removed
PDF / Print Clean-page styles; copy-to-clipboard for code; print-friendly output
Performance Debounced image garbage collection and live rendering
Customizable Theme-aware CSS uses Standard Notes variables; no external dependencies

🔐 Security & Privacy

  • ✋ 100% local processing — no external calls or data uploads
  • ✔ Syntax-safe and sanitized via DOMPurify
  • 🛡 Full control over image data—embedded only as base64, cleaned automatically

Use at your own risk; no affiliation with Standard Notes, Inc.


📝 Limitations & Notes

  • Supports only the default plain-text editor at app.standardnotes.com
  • Incompatible with other official editors (e.g. Bold, Code)
  • DOM changes in Standard Notes may require script updates

🌍 Community & Contribution

  • MIT License — free to use, modify, distribute
  • Welcome feedback, issues, and pull requests via GitHub

🔗 Repository: https://github.com/koyasi777/standardnotes-markdown-enhancer


💡 Why Use This?

Transform Standard Notes into a powerful Markdown workspace with live preview, clean exports, and intuitive image workflows—all while preserving privacy and staying lightweight.


🛠 Changelog Highlights (v2.6.0)

  • 📸 Automatic image resizing with quality control (max 1280px, JPEG quality 0.8)
  • 🧹 Image garbage collection: unused embedded images are removed automatically
  • 🖼 Added image upload UI and modal for URL/file insertion
  • 🧹 UI consistency improvements; tooltips and accessibility labels added