aguingand / tiptap-markdown

The Markdown extension for Tiptap editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some Markdown Elements Don't Fomat

codeser opened this issue · comments

Describe the bug
Some markdowns don't format
eg.
Headings, lists etc.
Please see image below of markdown output:
Screen Shot 2023-06-23 at 12 29 00 PM

Love your library and look forward to your response :)

Can you provide a reproduction of your issue ?

Oops my bad, I figured out the problem was because react was manipulating the html

For anyone who faces similar issues, the problem is to wrap the markdown with prose:

<div className="prose lg:prose-xl"> {markdown_goes_here} </div>

The only Markdown that doesn't format now is tables but will create a different issue for that.