从源码构建需先安装 Flutter SDK 并执行 flutter pub get 拉取依赖;打开和保存 .md 文件依赖存储权限,Android 上需授予权限;多语言翻译需运行 flutter gen-l10n 重新生成本地化代码。
FlutterMarkdownEditor
adeeteyaMIT更新放缓用 Flutter 开发的移动端 Markdown 编辑器,可直接打开 .md 文件,支持文本样式、链接插入、明暗主题和多种预览模式,填补手机上缺少独立 Markdown 编辑器的空白。
Markdown Editor app allows easy markdown file creation and editing. It opens ".md" files directly from explorer, provides text styling options, effortless link addition, Light and Dark Theme Modes, Multiple View Modes. Developed using Flutter, it's mainly intended for mobile devices as there are no standalone markdown editors presently available.
flutter pub get
flutter runREADME 未说明硬件要求;提供 Android、Linux、Windows 安装包及 Web 版,移动端为主要目标平台。
基于 Flutter 的移动端 Markdown 编辑器,可直接打开 .md 文件并实时预览编辑
用 Flutter 开发的移动端 Markdown 编辑器,可直接打开 .md 文件,支持文本样式、链接插入、明暗主题和多种预览模式,填补手机上缺少独立 Markdown 编辑器的空白。
核心能力
- 从文件浏览器直接打开 .md 文件编辑
- 支持粗体、斜体、标题、链接、表格等格式快捷插入
- 双视图模式同时显示编辑与预览,单视图可左右滑动切换
- 预览支持 JPEG、PNG、GIF、WebP、BMP、WBMP 图片及 LaTeX
- 支持打印、另存为 PDF,以及按纯文本、Markdown、PDF 分享
容易踩的坑
- 2.1.0Version 2.1.0最新正式版2026-04-13 · 2026-04-13 15:21 UTC
What's Changed
- Fix file reopening after exit confirmation on Android by @Copilot in https://github.com/adeeteya/FlutterMarkdownEditor/pull/45
- Version update by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/46
- Update app_de.arb by @DJCrashdummy in https://github.com/adeeteya/FlutterMarkdownEditor/pull/41
- Qa improvements by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/47
- Dependency update by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/56
- 🐛 fix horizontal scrolling support for table in home.dart #50 by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/57
- Add 'Save As' functionality by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/58
- Add sharing functionality for text, markdown, and PDF formats by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/59
- Fix brightness detection and integrate dynamic color support by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/60
New Contributors
- @Copilot made their first contribution in https://github.com/adeeteya/FlutterMarkdownEditor/pull/45
Full Changelog: https://github.com/adeeteya/FlutterMarkdownEditor/compare/2.0.0...2.1.0
- 2.0.0Version 2.0.02025-10-12 · 2025-10-12 15:24 UTC
查看更新说明
What's Changed
- Update app_de.arb by @DJCrashdummy in https://github.com/adeeteya/FlutterMarkdownEditor/pull/17
- add de locale to fastlane by @IzzySoft in https://github.com/adeeteya/FlutterMarkdownEditor/pull/20
- Project update by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/25
- Added App close confirmation dialog to fix #18 by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/26
- 🐛 fixes #19 by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/27
- Html support by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/29
- ✨ added svg support. fixes #21 by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/30
- ✨ added latex support. fixes #31 by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/32
- ✨ Major Feature update by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/33
- Checkbox by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/34
New Contributors
- @DJCrashdummy made their first contribution in https://github.com/adeeteya/FlutterMarkdownEditor/pull/17
- @IzzySoft made their first contribution in https://github.com/adeeteya/FlutterMarkdownEditor/pull/20
Full Changelog: https://github.com/adeeteya/FlutterMarkdownEditor/compare/1.4.1...2.0.0
- 1.4.1Version 1.4.12025-07-03 · 2025-07-03 21:31 UTC
查看更新说明
- 1.4.0Version 1.4.02025-06-22 · 2025-06-22 08:16 UTC
查看更新说明
What's Changed
- Refactor Entire Project by @adeeteya in https://github.com/adeeteya/FlutterMarkdownEditor/pull/15
New Contributors
- @adeeteya made their first contribution in https://github.com/adeeteya/FlutterMarkdownEditor/pull/15
Full Changelog: https://github.com/adeeteya/FlutterMarkdownEditor/compare/1.2.1...1.4.0
- 1.2.1Flutter Markdown Editor2023-12-21 · 2023-12-21 06:22 UTC
查看更新说明
Updated the Dependencies and Removed the All File Access Permission.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
📝 Flutter Markdown Editor
Introducing the Markdown Editor app, the perfect tool for anyone who needs to create and edit markdown files with ease. With the ability to open ".md" files directly from the explorer, you can easily access your files and start working on them right away.
The app also offers a convenient way to style your text with options such as bold, italics, headings, and more. Adding links is also a breeze with the simple interface.
In addition, you can preview JPEG, PNG, GIF, WebP, BMP, and WBMP image formats right within the app. You can easily open links from the preview, making it easy to navigate between different files and sources.
Choose between Light and Dark Theme Modes, use Dynamic Color for improved theme customization, and use the Dual View Mode to simultaneously view both the preview and editing views. Alternatively, you can use Single View Mode to focus on either the preview or editing view.
The app also offers the ability to share your markdown files as plain text, markdown, or PDF, clear text and start from scratch, as well as create new .md files or edit existing ones.
This Editor was developed using Flutter and is mainly targeted for mobile devices as currently there aren't any standalone markdown editors available.
Please star⭐ the repo if you like what you see😊.
💻 Installation links
✨ Features
- Ability to open .md files directly from the explorer
- Convenient way to style text (bold,italics,headings and etc)
- Convenient way to add links
- Convenient way to add tables
- Ability to preview JPEG, PNG, GIF, WebP, BMP, and WBMP image formats.
- Easily open links from the preview
- Light and Dark Theme Modes available
- Dynamic Color support for improved theme customization
- Dual View Mode available (Both Preview and Editing View)
- Single View Mode available (Either Preview or the Editing View)
- Added Multi Language Support (For Some of the most popular languages of the world)
- Ability to clear text and start from scratch
- Create new .md files
- Edit existing .md files
- LaTex support
- Horizontal Swipe to Switch between Preview and Editing View in Single View Mode
- Default Folder for Opening and Saving .md files
- Added Print/Save as Pdf Option
- Added Share as Plain Text, Markdown, and PDF Option
- Added the option to check/uncheck checkboxes in preview mode
🌐 How to contribute to this project's translations
- Fork this repository and create a branch dedicated to the translation you want to work on.
- The source strings live in lib/l10n/app_en.arb. Copy it to lib/l10n/app_.arb (use the ISO language or language_region code) when adding a new language, or open the existing file if the language is already present.
- Translate only the string values. Keep placeholders (such as {count}) and the accompanying @metadata blocks untouched so Flutter can still generate code correctly.
- Run flutter gen-l10n from the project root to regenerate lib/l10n/generated/app_localizations.dart and to update untranslated_messages.json.
- Launch the app (or run flutter test if you add tests) to double-check that your strings render correctly, then open a pull request describing the language(s) you updated.
📸 Screenshots
🔌 Plugins
| Name | Usage |
|---|---|
| dynamic_color | For improved theme customization |
| expandable | To create expandable header buttons |
| file_picker | To open markdown files directly from the app |
| flutter_localizations | Internationalizing app |
| flutter_math_fork | Help with LaTeX support |
| flutter_svg | To Display Svg Images |
| flutter_widget_from_html_core | To add html display support |
| google_fonts | To add custom fonts support |
| html | To help display html format |
| htmltopdfwidgets | To convert html to pdf for printing |
| intl | Provides internationalization and localization facilities |
| markdown | To convert markdown to html format |
| markdown_widget | To help display markdown/custom markdown |
| To help save/create a pdf | |
| permission_handler | To get storage permissions for opening and saving .md files |
| printing | To help printing a pdf |
| share_plus | To share markdown files in various formats |
| shared_preferences | To store device preferences for persistence |
| url_launcher | To launch markdown links |
| flutter_lints | For linting |
🤓 Author
🔖 LICENCE
Copyright (c) 2023 Aditya R MIT LICENCE
🙏 Attributions
Text Editor icons created by Freepik - Flaticon