Allow plugin to add shortcode like peertube components in markdown #5327
Labels
Component: Custom Markdown
Component: PeerTube Plugin 📦
Features that can be developed in a plugin, but require PeerTube plugin API development
Type: Feature Request ✨
Describe the problem to be solved
It can be cool to can add shortcode like peertube components we can already add in markdown editor
So users can customize a custom page or homepage with these shortcodes added by some plugins
Describe the solution you would like
Using a method like registerSettings, we can do registerComponent or registerShortcode, and attach a handler with all params passed as an object ( data = {} )
Example using
<my-custom-component name="john"> or [my-custom-component name="john"]
Example declaration :
The text was updated successfully, but these errors were encountered: