Markdown

Wordsmith provides a full and multi-flavored suite of Markdown parsing functions:

Markdown flavors

The following “flavors” of Markdown are supported:

Parsing Markdown

markdown

Parses text through Markdown.

This function attempts to override Craft’s built-in markdown filter, in order to provide the superior Parsedown-powered 'extra' flavor.

md

Alias for markdown.

This function attempts to override Craft’s built-in md filter, in order to provide the superior Parsedown-powered 'extra' flavor.

parsedown

Alias for markdown(flavor='gfm').

Provided so that Wordsmith can be a drop-in replacement for the Parsedown or Craft 3 Parsedown plugins.

parsedownExtra

Alias for markdown(flavor='extra').

Provided so that Wordsmith can be a drop-in replacement for the Parsedown or Craft 3 Parsedown plugins.

pde

Alias for parsedownExtra

Provided so that Wordsmith can be a drop-in replacement for the Parsedown or Craft 3 Parsedown plugins.