thunderer/Shortcode

Custom Short Codes

Closed this issue · 3 comments

I'm yet to use this library but I was wondering is Custom Shortcodes being supported? (#16 "add ProcessedShortcodeInterface and Processor::withShortcodeFactory() (think of a better name) to allow creating custom shortcode objects")

Absolutely, granted this is for Grav CMS, but: https://github.com/getgrav/grav-plugin-shortcode-core

@killrawr this particular point is about being able to use a custom class for internal shortcode objects. You won't need this unless you're deeply changing the way shortcodes are processed inside this library.

Custom shortcodes were supported since the very first version, look here if you need an example of how to register your own handler.

Oh nice! thank you for the replies guys