[PR #1803] [MERGED] fix: add a encoder for math, #1795 #4948

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1803
Author: @huang12zheng
Created: 2/5/2023
Status: Merged
Merged: 2/6/2023
Merged by: @LucasXu0

Base: mainHead: pr1795


📝 Commits (3)

  • 50fb38b fix: add a encoder for math, #1795
  • 21df7ac feat: support customzie the node parser for exporting markdown
  • 461a990 chore: fix flutter analyze

📊 Changes

8 files changed (+113 additions, -37 deletions)

View changed files

📝 frontend/app_flowy/lib/plugins/document/application/share_bloc.dart (+6 -1)
📝 frontend/app_flowy/lib/plugins/document/presentation/plugins/parsers/divider_node_parser.dart (+1 -2)
frontend/app_flowy/lib/plugins/document/presentation/plugins/parsers/math_equation_node_parser.dart (+13 -0)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/document_markdown.dart (+31 -10)
📝 frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/document_markdown_encoder.dart (+1 -8)
📝 frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/document_markdown_encoder_test.dart (+4 -1)
frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/parser/divider_node_parser_test.dart (+0 -15)
frontend/app_flowy/test/unit_test/editor/share_markdown_test.dart (+57 -0)

📄 Description

  1. new a NodeParser
  2. and add that NodeParser to DocumentMarkdownEncoder
  3. fix #1795

🔄 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/1803 **Author:** [@huang12zheng](https://github.com/huang12zheng) **Created:** 2/5/2023 **Status:** ✅ Merged **Merged:** 2/6/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `pr1795` --- ### 📝 Commits (3) - [`50fb38b`](https://github.com/AppFlowy-IO/AppFlowy/commit/50fb38b88612842355ea9195d9519eeae4f37ff5) fix: add a encoder for math, #1795 - [`21df7ac`](https://github.com/AppFlowy-IO/AppFlowy/commit/21df7ac621b2e67e3a30d5992c660e4494985e98) feat: support customzie the node parser for exporting markdown - [`461a990`](https://github.com/AppFlowy-IO/AppFlowy/commit/461a990a14aa18d024662bf061e7029638efa4b2) chore: fix flutter analyze ### 📊 Changes **8 files changed** (+113 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/plugins/document/application/share_bloc.dart` (+6 -1) 📝 `frontend/app_flowy/lib/plugins/document/presentation/plugins/parsers/divider_node_parser.dart` (+1 -2) ➕ `frontend/app_flowy/lib/plugins/document/presentation/plugins/parsers/math_equation_node_parser.dart` (+13 -0) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/document_markdown.dart` (+31 -10) 📝 `frontend/app_flowy/packages/appflowy_editor/lib/src/plugins/markdown/encoder/document_markdown_encoder.dart` (+1 -8) 📝 `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/document_markdown_encoder_test.dart` (+4 -1) ➖ `frontend/app_flowy/packages/appflowy_editor/test/plugins/markdown/encoder/parser/divider_node_parser_test.dart` (+0 -15) ➕ `frontend/app_flowy/test/unit_test/editor/share_markdown_test.dart` (+57 -0) </details> ### 📄 Description 1. new a NodeParser 2. and add that NodeParser to DocumentMarkdownEncoder 3. fix #1795 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:16:32 +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#4948
No description provided.