OptionalallowedOptionalcontentContent type: 'block' allows paragraphs/lists/etc, 'inline' only allows bold/italic/links/etc
OptionaldefaultDefault attributes to apply when parsing
OptionalgetFunction to extract content from the node for serialization
OptionalnameThe markdown syntax name (defaults to nodeName if not provided)
The Tiptap node name this spec is for
OptionalparseFunction to parse attributes from the attribute string
OptionalserializeFunction to serialize attributes to string
Allowlist of attributes to include in markdown (if not provided, all attributes are included)