Skip to content

SugarFatFree/marktext-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkText Plus

A lightweight, cross-platform Markdown editor that makes writing a pleasure

Release License Flutter Platform

简体中文 | 日本語 | 한국어 | Deutsch | Français | Italiano | Русский | Español | Português | العربية | Português (Brasil)

MarkText Plus


💡 What is MarkText Plus?

MarkText Plus is a modern Markdown editor reimagined from the original MarkText, rebuilt with Flutter for true cross-platform support. It solves the pain points of traditional Markdown editors:

  • ❌ Heavy and slow startup times → ✅ Lightning-fast with self-built parser
  • ❌ Limited theme options → ✅ 8 beautiful themes (light & dark)
  • ❌ Poor cross-platform experience → ✅ Native performance on Windows, macOS, Linux
  • ❌ Complex setup → ✅ 3 commands to get started

🚀 Quick Start

Get up and running in less than 30 seconds:

git clone https://github.com/SugarFatFree/marktext-plus.git
cd marktext-plus/code
flutter pub get && flutter run

That's it! The editor will launch with a sample document ready to edit.

✨ Features

Feature Description
📝 Three Edit Modes Source code with syntax highlighting, live preview, and split-view
🎨 8 Beautiful Themes Red Graphite, Shibuya, Pink Blossom, Sky Blue, Dark Graphite, Dieci OLED, Nord, Midnight
🌍 12 Languages English, Chinese, Japanese, Korean, German, French, Italian, Russian, Spanish, Portuguese, Arabic, Brazilian Portuguese
⚡ Lightning Fast Self-built Markdown parser & renderer — no heavy dependencies
🔍 Find & Replace Full-featured search with regex support
📂 File Tree Sidebar navigation with drag-and-drop folder support
⌨️ Customizable Shortcuts Fully configurable keyboard bindings
💾 Auto Save JSON-based persistent configuration, never lose your work

🎨 Themes

Light Themes Dark Themes
Red Graphite
Red Graphite
Dark Graphite
Dark Graphite
Shibuya
Shibuya
Dieci OLED
Dieci OLED
Pink Blossom
Pink Blossom
Nord
Nord
Sky Blue
Sky Blue
Midnight
Midnight

📦 Installation

Download Pre-built Binaries

Download the latest release for your platform from Releases.

Platform Architecture Format
Windows x64 .exe installer
macOS ARM64 .dmg
Linux x64 / ARM64 .deb / .rpm

Build from Source

Prerequisites: Flutter 3.x+, Dart 3.x+

git clone https://github.com/SugarFatFree/marktext-plus.git
cd marktext-plus/code
flutter pub get && flutter run
Release Build Commands
# Windows
flutter build windows

# macOS
flutter build macos

# Linux
flutter build linux
macOS Users: Bypass Unsigned App Warning

macOS may show "Apple couldn't verify MarkText Plus..." warning. After dragging to Applications:

xattr -cr /Applications/MarkText\ Plus.app
sudo codesign --force --deep --sign - /Applications/MarkText\ Plus.app

🏗️ Architecture

code/lib/
├── main.dart           # Entry point
├── app.dart            # MaterialApp with theme/locale/i18n binding
├── core/               # Theme tokens, config, i18n (12 languages)
├── models/             # TabInfo, FileNode
├── services/           # Markdown parser, file I/O, keybinding
├── providers/          # Riverpod state management
└── ui/
    ├── editor/         # Source editor, preview renderer, split view
    ├── screens/        # Home, Settings
    └── widgets/        # Menu bar, sidebar, tab bar, status bar

Four-layer architecture: UIState (Riverpod) → ServicePlatform

Running Tests

cd code && flutter test

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

MIT License - see LICENSE for details.

Based on MarkText by Luo Ran and contributors.

🙏 Acknowledgments

  • MarkText — the original project that inspired this editor
  • Flutter — the cross-platform framework
  • All open source libraries used in this project

About

A lightweight, cross-platform Markdown editor built with Flutter, reimagined from the original [MarkText](https://github.com/marktext/marktext).

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors