The Parsedown plugin converts content file
body content from Markdown into HTML using the popular Parsedown
parser. This only applies to content files with a .md
or .markdown
file extension.
After this plugin runs, affected content files' body
properties
will be HTML instead of Markdown.
This plugin requires the erusev/parsedown
package. Install it with Composer:
composer require erusev/parsedown
To use this plugin, add an instance of the Parsedown
class to your
3dash app like this:
$app->add(new Ssg\Body\Parsedown());