🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Улучшенный редактор Markdown для Standard Notes

Улучшите Standard Notes с помощью мощного неофициального редактора Markdown: живая превью, панель форматирования, вставка/загрузка изображений с автоизменением размера и экспорт в PDF. Неиспользуемые изображения автоматически удаляются. Эта версия имеет новую архитектуру для надежной синхронизации.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey, Greasemonkey или Violentmonkey.

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

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Userscripts.

Чтобы установить этот скрипт, сначала вы должны установить расширение браузера, например Tampermonkey.

Чтобы установить этот скрипт, вы должны установить расширение — менеджер скриптов.

(у меня уже есть менеджер скриптов, дайте мне установить скрипт!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

(у меня уже есть менеджер стилей, дайте мне установить скрипт!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Автор
koyasi777
Установок в день
0
Всего установок
10
Оценки
0 0 0
Версия
6.5.1
Создано
20.06.2025
Обновлено
23.08.2025
Размер
2,0 МБ
Лицензия
MIT
Работает на

Enhanced Markdown Editor for Standard Notes

📌 Overview

This userscript supercharges Standard Notes (web) by replacing its default plain-text editor with a feature-rich, privacy-respecting Markdown editor. It includes a live preview, customizable toolbar, advanced image handling, PDF export, and a visual table editor—all running 100% in your browser.


✨ Key Features

  • 🛠️ Rich formatting toolbar for headings, bold, italic, strikethrough, quotes, lists, checklists, code blocks, links, images, tables, and horizontal rules
  • 🔀 Editor / Split / Preview modes with synchronized updates
  • 🧠 Live preview with marked.js, DOMPurify, and highlight.js—fully sanitized and syntax-highlighted
  • 🖼 Smart image handling:
    • Paste from clipboard → auto-resize to max 1280px, embedded as base64
    • Upload from file or insert via URL using a modal UI
    • Unused embedded images are auto-cleaned
  • 📋 Code block clipboard support with "Copy" buttons
  • 🔠 Interactive table editor with cell editing, row/column control, and alignment settings
  • 🖨 PDF export and print-friendly layout with clean formatting
  • 🌙 Fully supports dark mode and integrates with Standard Notes theme variables
  • 💾 Remembers user preferences like view mode and toolbar visibility

⚠️ This is an unofficial userscript not affiliated with Standard Notes, Inc.


🚀 Installation Guide

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

💡 The script detects and upgrades the default editor without affecting other editors.


🔍 Feature Summary

Feature Description
Toolbar One-click insertion of Markdown syntax
View Modes Toggle between Edit, Split, and Preview layouts
Preview Safe, real-time HTML rendering with copy-enabled code
Image Support Pasting, uploading, and reference insertion; automatic cleanup
Tables Visual Markdown table builder with cell navigation
Export / Print PDF-ready styles and layout for clean hardcopies
Performance Debounced rendering and efficient DOM interaction
Theme Integration Uses SN-provided CSS variables; dark mode aware

🔐 Security & Privacy

  • 🛡 All processing is local — no external APIs, uploads, or analytics
  • ✔ Sanitized Markdown via DOMPurify
  • 🔒 Base64 image data is embedded, stored only inside your notes
  • 🧹 Unused images are automatically deleted for cleanliness

Use at your own risk; no official support or endorsement from Standard Notes.


📝 Compatibility & Notes

  • ✔ Works with default plain-text editor only (https://app.standardnotes.com/)
  • ❌ Incompatible with official editors like Bold or Code
  • 🔄 Subject to breaking changes if Standard Notes updates its DOM structure

🌍 Contribution

  • 🧑‍💻 MIT Licensed — free to use, adapt, and distribute
  • ❤️ Feedback and pull requests welcome!

🔗 GitHub Repository


💡 Why Use This?

Elevate your Standard Notes experience with an intuitive, fast, and powerful Markdown editor—no extensions, no compromises, just pure productivity in your browser.