getgrav / grav-plugin-shortcode-ui

Grav Shortcode UI Plugin
https://getgrav.org
MIT License
47 stars 11 forks source link

Suggestion: Custom Shortcode Support #27

Closed RyanMPierson closed 6 years ago

RyanMPierson commented 6 years ago

It would be really cool if there was a section in the admin that enabled you to create custom shortcodes for things like HTML strings. For example, if I have a table with Font Awesome icons, the table would look really messy if I had multiple icons in a cell with this HTML code:

<i class="fa fa-fw fa-star" style="color:#00AE4D"></i>

However, if I could add that into the shortcode UI backend and give it a shortcode like [ui-star] it would be a lot cleaner and easier to work with.

I believe RokCandy from RocketTheme did something similar for Joomla.