diff --git a/plugins/shortcode-custom/CustomPrismjs.php b/plugins/shortcode-custom/CustomPrismjs.php new file mode 100644 index 0000000..d4607ad --- /dev/null +++ b/plugins/shortcode-custom/CustomPrismjs.php @@ -0,0 +1,15 @@ +shortcode->getHandlers()->add('sh-root', function(ShortcodeInterface $sc) { + return '
'.$sc->getContent().'
'; + }); + } +} +?> \ No newline at end of file diff --git a/plugins/shortcode-custom/CustomShortcodes.php b/plugins/shortcode-custom/CustomShortcodes.php new file mode 100644 index 0000000..46fc2a4 --- /dev/null +++ b/plugins/shortcode-custom/CustomShortcodes.php @@ -0,0 +1,3 @@ + \ No newline at end of file