Reference

Markdown parser

/site/plugins/markdown-parser/index.php
Kirby::plugin('my/markdown', [
    'components' => [
        'markdown' => function (Kirby $kirby, string $text = null, array $options = []) {
            return YourMarkdownParser::parse($text);
        }
    ]
]);