Reference

SmartyPants parser

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