[GH-ISSUE #2452] [Bug] Nested checkmark list is missing in markdown #1055

Closed
opened 2026-03-23 20:44:57 +00:00 by mirror · 3 comments
Owner

Originally created by @c4lliope on GitHub (May 3, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2452

Originally assigned to: @LucasXu0 on GitHub.

Bug Description

Here is a sample document:

image

Here is the rendered markdown from the "Share" menu:

# Welcome to AppFlowy!
## Here are the basics
- [ ] Click anywhere and just start typing.
- [ ] Highlight any text, and use the editing menu to _style_ **your** <u>writing</u> `however` you ~~like.~~
- [ ] Type `/` followed by `/bullet` or `/num` to create a list.
- [x] Click `+ New Page `button at the bottom of your sidebar to add a new page.
- [ ] Click `+` next to any page title in the sidebar to quickly add a new subpage, `Document`, `Grid`, or `Kanban Board`.

You can see the indented checkmark line is missing in the export.

How to Reproduce

  • Make a checkmark list
    • indent a sub-checkmark
  • Share as markdown

Expected Behavior

All checkmarks should be recorded with the necessary indentation.

Operating System

Linux

AppFlowy Version(s)

0.1.3

Screenshots

No response

Additional Context

No response

Originally created by @c4lliope on GitHub (May 3, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2452 Originally assigned to: @LucasXu0 on GitHub. ### Bug Description Here is a sample document: ![image](https://user-images.githubusercontent.com/30454698/235923664-138be789-637d-4e3f-8a13-f07fc2c13b78.png) Here is the rendered markdown from the "Share" menu: ```markdown # Welcome to AppFlowy! ## Here are the basics - [ ] Click anywhere and just start typing. - [ ] Highlight any text, and use the editing menu to _style_ **your** <u>writing</u> `however` you ~~like.~~ - [ ] Type `/` followed by `/bullet` or `/num` to create a list. - [x] Click `+ New Page `button at the bottom of your sidebar to add a new page. - [ ] Click `+` next to any page title in the sidebar to quickly add a new subpage, `Document`, `Grid`, or `Kanban Board`. ``` You can see the indented checkmark line is missing in the export. ### How to Reproduce * [ ] Make a checkmark list * [ ] indent a sub-checkmark * [ ] Share as markdown ### Expected Behavior All checkmarks should be recorded with the necessary indentation. ### Operating System Linux ### AppFlowy Version(s) 0.1.3 ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 20:44:57 +00:00
Author
Owner

@Xazin commented on GitHub (May 4, 2023):

It should be mentioned that the same occurs to bulleted lists.

Indented entries are missing from the exported markdown.

<!-- gh-comment-id:1534715069 --> @Xazin commented on GitHub (May 4, 2023): It should be mentioned that the same occurs to bulleted lists. Indented entries are missing from the exported markdown.
Author
Owner

@Amartya-Mahato commented on GitHub (May 4, 2023):

seems like the problem is in appflowy_editor 0.1.9

<!-- gh-comment-id:1534783218 --> @Amartya-Mahato commented on GitHub (May 4, 2023): seems like the problem is in appflowy_editor 0.1.9
Author
Owner

@saru2020 commented on GitHub (May 5, 2023):

this is where the issue lies, the text_node_parser isn't considering indentation

<!-- gh-comment-id:1536143658 --> @saru2020 commented on GitHub (May 5, 2023): [this](https://github.com/AppFlowy-IO/appflowy-editor/blob/main/lib/src/plugins/markdown/encoder/parser/text_node_parser.dart) is where the issue lies, the `text_node_parser` isn't considering `indentation`
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#1055
No description provided.