[PR #1424] [MERGED] Implement appflowy editor document to markdown #4729

Closed
opened 2026-03-23 22:15:34 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1424
Author: @LucasXu0
Created: 11/8/2022
Status: Merged
Merged: 11/9/2022
Merged by: @LucasXu0

Base: mainHead: markdown


📝 Commits (9)

  • c85ab27 feat: delta to markdown
  • 9eaa79b feat: document to markdown
  • 2e7f803 test: markdown encoder test
  • f6e1f21 chore: remove unused code
  • fc35f74 feat: markdown to delta
  • 4622a41 feat: markdown to document
  • 888c1b8 test: markdown decoder test
  • 76d1267 feat: remove the codec code from main project
  • eb73564 feat: integate appflowy_editor markdown codec into appflowy

📊 Changes

19 files changed (+871 additions, -39 deletions)

View changed files

📝 frontend/app_flowy/lib/plugins/doc/application/share_bloc.dart (+2 -2)
📝 frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart (+7 -0)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/core/document/text_delta.dart (+12 -5)
frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/decoder/delta_markdown_decoder.dart (+66 -0)
frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/decoder/document_markdown_decoder.dart (+91 -0)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/document_markdown.dart (+5 -6)
frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/delta_markdown_encoder.dart (+88 -0)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/document_markdown_encoder.dart (+6 -6)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/parser/image_node_parser.dart (+2 -2)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/parser/node_parser.dart (+1 -1)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/parser/text_node_parser.dart (+13 -17)
📝 frontend/app_flowy/packages/appflowy_editor/pubspec.yaml (+1 -0)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/decoder/delta_markdown_decoder_test.dart (+96 -0)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/decoder/document_markdown_decoder_test.dart (+126 -0)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/delta_markdown_encoder_test.dart (+100 -0)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/document_markdown_encoder_test.dart (+136 -0)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/parser/image_node_parser_test.dart (+17 -0)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/parser/text_node_parser_test.dart (+95 -0)
📝 frontend/app_flowy/pubspec.lock (+7 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/1424 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 11/8/2022 **Status:** ✅ Merged **Merged:** 11/9/2022 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `markdown` --- ### 📝 Commits (9) - [`c85ab27`](https://github.com/AppFlowy-IO/AppFlowy/commit/c85ab276e95a7d6e16d7c8fc87ec351f068d151e) feat: delta to markdown - [`9eaa79b`](https://github.com/AppFlowy-IO/AppFlowy/commit/9eaa79b5588713e301c37436be450e3494f0d754) feat: document to markdown - [`2e7f803`](https://github.com/AppFlowy-IO/AppFlowy/commit/2e7f803e02942b414ddfef206c1e5088508ef475) test: markdown encoder test - [`f6e1f21`](https://github.com/AppFlowy-IO/AppFlowy/commit/f6e1f2185e3727f6b0976ab5f09abe4b1e9ebc55) chore: remove unused code - [`fc35f74`](https://github.com/AppFlowy-IO/AppFlowy/commit/fc35f7475188d24f97eba1bed082c599dee0e1e8) feat: markdown to delta - [`4622a41`](https://github.com/AppFlowy-IO/AppFlowy/commit/4622a412b7ab224f979b9862b195261a372db15d) feat: markdown to document - [`888c1b8`](https://github.com/AppFlowy-IO/AppFlowy/commit/888c1b86f00cd50a32f5603abb532695052304b4) test: markdown decoder test - [`76d1267`](https://github.com/AppFlowy-IO/AppFlowy/commit/76d1267aa5dfe2f67773d6565ba8f837a600020d) feat: remove the codec code from main project - [`eb73564`](https://github.com/AppFlowy-IO/AppFlowy/commit/eb7356474c9df6ea148bbd164de5b73e4a412f4f) feat: integate appflowy_editor markdown codec into appflowy ### 📊 Changes **19 files changed** (+871 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/plugins/doc/application/share_bloc.dart` (+2 -2) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart` (+7 -0) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/core/document/text_delta.dart` (+12 -5) ➕ `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/decoder/delta_markdown_decoder.dart` (+66 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/decoder/document_markdown_decoder.dart` (+91 -0) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/document_markdown.dart` (+5 -6) ➕ `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/delta_markdown_encoder.dart` (+88 -0) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/document_markdown_encoder.dart` (+6 -6) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/parser/image_node_parser.dart` (+2 -2) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/parser/node_parser.dart` (+1 -1) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/parser/text_node_parser.dart` (+13 -17) 📝 `frontend/app_flowy/packages/appflowy_editor/pubspec.yaml` (+1 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/decoder/delta_markdown_decoder_test.dart` (+96 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/decoder/document_markdown_decoder_test.dart` (+126 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/delta_markdown_encoder_test.dart` (+100 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/document_markdown_encoder_test.dart` (+136 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/parser/image_node_parser_test.dart` (+17 -0) ➕ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/parser/text_node_parser_test.dart` (+95 -0) 📝 `frontend/app_flowy/pubspec.lock` (+7 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:15:34 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4729
No description provided.