Markdown#
Markdown holds Markdown text for technical content, markdown in the
descriptor, edited visually or as source; toolbar([...]) sets the
editor’s toolbar.
Markdown::make('body')->required()->hideFromIndex()->columnSpan('full'),
The stored value is the Markdown source; the admin edits it visually
through @tiptap/markdown, with a view of the source, and shows it
through markdown-it (HTML in the source off, bare URLs linked) and the
same sanitizer as rich text. The
descriptor publishes richtext: {features, imageField, mentions, storesHtml, maxBytes} and markdown: {toolbar}.
It takes the common modifiers too.