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:
@@ -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')) {
|
||||
|
Reference in New Issue
Block a user