tiptap-markdown icon indicating copy to clipboard operation
tiptap-markdown copied to clipboard

Support TaskList

Open nekoya opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. When I tried to convert tiptap content containing a TaskList, getMarkdown() returns the contents with redundant line breaks.

- [ ] foo

- [ ] bar

Describe the solution you'd like Pass the tightLists: true option to the MarkdownSerializerState to treat the TaskList as a tight list.

Describe alternatives you've considered Inherit the options of Markdown extension in MarkdownSerializer similar to MarkdownParser. I'm not sure about the benefits on non-tight task lists, but I think the options should be respected.

nekoya avatar Jan 06 '25 14:01 nekoya