Implementing Callouts and Cards and Accordian #7483
Unanswered
marudhu099
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m planning to add custom block components to Tiptap—specifically callouts (info, success, warning, tip), and later cards and accordions. Since Markdown doesn’t natively support these blocks, I’m looking for guidance on the cleanest long-term approach.
Overview of what I’m trying to do
Current idea (high level)
Where I’m stuck
Alternative patterns (Markdown directives, fenced blocks, custom syntax, etc.)
I’ve experimented with both regex-style transforms and AST-style parsing, but I’m not fully confident I’m heading in the right direction—especially for scalability and nested content.
What I’m looking for
Beta Was this translation helpful? Give feedback.
All reactions