Feature Request: Add markdown parseInline method #7114
weilinzung
started this conversation in
Feature Requests
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.
-
Description
MarkdownManager.parse()currently only supports block-level parsing and always returns a full document. There’s no way to parse inline Markdown (e.g.,**bold**,`code`) into aFragmentwithout wrapping it in a paragraph or document.A new
parseInline()method or{ inline: true }option would allow parsing inline markdown directly to aFragment, similar to how ProseMirror distinguishes between inline and block parsing.Example:
https://tiptap.dev/docs/editor/markdown/api/markdown-manager#markdownmanagerparse
Use Case
codetyped inline into marks without adding paragraphsType
New feature
Beta Was this translation helpful? Give feedback.
All reactions