Scripts2026年5月29日·1 分钟阅读

Mark Text — Simple and Elegant Markdown Editor

A free open-source markdown editor for Linux, macOS, and Windows with real-time preview, focus mode, and typewriter mode.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Mark Text Overview
直接安装命令
npx -y tokrepo@latest install 3455b791-5b9b-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Mark Text is a free, open-source markdown editor built with Electron that provides a distraction-free writing experience. It renders markdown in real time as you type, eliminating the split-pane preview common in other editors. Mark Text supports GFM, CommonMark, and several markdown extensions out of the box.

What Mark Text Does

  • Renders markdown inline with real-time preview as you type
  • Provides focus mode, typewriter mode, and source code mode for flexible editing
  • Supports GFM tables, math expressions (KaTeX), front matter, and diagrams
  • Offers six built-in themes including dark and light variants
  • Exports documents to HTML and PDF formats

Architecture Overview

Mark Text is built on Electron with a Vue.js-based UI layer. The editor core uses a custom rendering engine called Muya that parses and renders markdown inline rather than using a separate preview pane. Muya handles the conversion between markdown AST and the visual block representation, supporting extensions like math, diagrams, and code blocks with syntax highlighting via Prism.js.

Self-Hosting & Configuration

  • Download platform-specific installers from the GitHub Releases page
  • On Linux, available via Flatpak, AppImage, Snap, or distro packages
  • Configure default theme, font, and editor behavior in Preferences
  • Set custom key bindings for common editing operations
  • Enable or disable specific markdown extensions in settings

Key Features

  • True WYSIWYG editing with no split-pane preview needed
  • Built-in support for Mermaid diagrams, Vega charts, and flowcharts
  • Image uploader integration with Imgur and local paths
  • Tab-based multi-document editing with sidebar file browser
  • Customizable typography, line height, and writing width

Comparison with Similar Tools

  • Typora — similar WYSIWYG approach but proprietary and paid; Mark Text is fully free
  • Obsidian — focused on knowledge management with backlinks; Mark Text is a pure writing tool
  • VS Code — powerful but heavyweight for focused writing; Mark Text is purpose-built for markdown
  • Zettlr — oriented toward academic writing with citation support; Mark Text prioritizes simplicity

FAQ

Q: Is Mark Text still maintained? A: Development has slowed but the community continues to submit patches and the editor remains functional across platforms.

Q: Does Mark Text support Vim keybindings? A: Mark Text does not natively support Vim mode. Use source code mode for a more traditional editing experience.

Q: Can I use Mark Text for blogging? A: Yes. It supports front matter (YAML) and exports to HTML, making it suitable for static site generator workflows.

Q: Does it support spell checking? A: Mark Text uses the system spell checker provided by Electron, supporting multiple languages on all platforms.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产