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'),
A Markdown field on a ticket reply's form: the Body editor's toolbar, with its Source switch, above the reply's text
A Markdown field on a ticket reply's form: the Body editor's toolbar, with its Source switch, above the reply's text

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.