1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 05:36:54 +02:00

feat(shortcodes): update raw shortcode

This commit is contained in:
Awilum
2022-05-25 21:05:09 +03:00
parent de82ec1bba
commit 64f8b5dab1

View File

@@ -19,7 +19,7 @@ namespace Flextype\Parsers\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
use function parsers;
// Shortcode: (markdown)
// Shortcode: markdown
// Usage: (markdown) markdown text here (/markdown)
parsers()->shortcodes()->addHandler('markdown', static function (ShortcodeInterface $s) {
if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.markdown.enabled')) {