b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Demo
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Releases
  • Skins
  • Plugins
  • Locales
 
  • « TinyMCE Plugin
  • Texturize Plugin »

Escape Code Plugin

Categories: Renderer Plugins, 5.x, Bundled plugin, 6.x, Bundled Plugins
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.

This renderer plugin escapes code enclosed in <code>, [codespan], [codeblock] as well as MarkDown code blocks.

This allows to include code blocks even in collections that accept HTML format.

Author
Last tested in version

However, for this to work, you will have to edit posts containing code in HTML mode and not in WYSIWYG mode. (If you want to use WYSIWYG mode, don't try to use codespan or codeblock markers.)

Note: you don't need this if your collection does not accept HTML format anyways. In this case, the plugin will not even try to escape code, because ALL HTML special characters will already be escaped systematically.

Per Collection Settings

Escape Code Plugin

This panel contains two options: Apply rendering to posts and Apply rendering to comments, wherein you can choose from the drop down menu how you want the Escape Code plugin to render your posts and comments.

The drop down-menu for both options contain the following choices:

  • stealth (default setting for applying rendering to posts and comments)
  • always
  • opt-out
  • opt-in
  • automatic
  • never

For more information about the rendering options, read about it at the Plugin/Apply Rendering page.

Tags: 6.10.7

No feedback yet


Form is loading...

Plugin Repository

Plugins are little PHP scripts that allow you to add features that are not (yet) built into the b2evolution core.

How to...

  • Introduction to Plugins
  • How to install a plugin (after downloading it)
  • How to make a new plugin
 Upload a plugin!
Submit your own plugin

User log in

Lost your password?
Register »

Search by keyword

Filtering options

Retain only results that match:

XML Feeds

  • RSS 2.0: Posts, Comments
  • Atom: Posts, Comments
What is RSS?

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque