Prism plugin
Categories: Renderer Plugins, 5.x, Downloadable Plugin, Bundled plugin, 6.x
Bundled plugin: If you're using a b2evolution version that supports this plugin, it is already in your plugins folder. There is no need to download it. If it is not installed yet, simply click "Install new" in your plugin list.
The PRISM plugin for b2evolution provides syntax highlighting capabilities based on the Prism project.
Author | |
---|---|
Last tested in version |
- Uses Prism's Default theme.
- By default the following syntax are included: Markup (HTML), CSS, JS, PHP, SQL and Apache Conf files.
- Supports Prism's Line numbers plugin.
- Supports Prism's Show language plugin.
Note: this plugin is designed to be used in b2evolution's Markup editor. It's not available in b2evolution's WYSIWYG editor.
Per Collection Settings
- Apply rendering to posts: how the content of the post will be rendered by plugin (for more information about apply rendering, please read: )
- Apply rendering to comments: how the comments will be rendered by the plugin (for more information about apply rendering, please read: )
Troubleshooting
If you encounter any issue using this plugin, please try the following settings:
- set HTML posting to "Not Allowed" for the current post type ( Item Type: Features Panel )
- set XHTML validation to "Basic security checking" in Blogging Permissions Panel
Attachments:
- prism_plugin-7.0.2.zip (29 KB)
1 comment
User ratings
5 star: | (1) | |
---|---|---|
4 star: | (0) | |
3 star: | (0) | |
2 star: | (0) | |
1 star: | (0) | |
1 rating
Average user rating:
(5.0)
(5.0)
Comment from: christoph.cemper Member
Would be great to use the prism also library also for proper code type highlighting using the markdown standard.