Hubl - register shortcodes

As a developer for a Hubspot agency I would love to have the option to register shortcodes. WordPress offers this functionality and it gives our marketeers the option to render styled elements in a rich content field.

As Hubspot currently has some limitations on the native rich content module and the blog content module, it would help us a lot if we can use styled elements without having to change the markup through the 'Browse code' option. It is rather inneficient if our marketeers have to add HTML and CSS classes in the editor.

 

I would suggest creating a hook that we can call to register shortcodes. When a marketeer uses this shortcode, we should have a function available to replace the contents of this shortcode with Hubl. It is important this shortcode would have the option to pass arguments to the function so we can use these arguments in Hubl.