bbPress Code Snippets
v1.0.3Jason · 2012年10月21日 上架
Automatically display HTML/PHP code posted in bbPress topics and replies.
- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 4,132
- 最近更新
- 2013年2月18日
1 条评价
贡献者
No fancy, complicated syntax highlighting here. The goal of this plugin is to allow your bbPress users to post code snippets in their forum topics and replies without having to learn anything new. Basically, any raw HTML/PHP posted within <pre> or <code> tags will automatically be converted and displayed in the forum as you’d expect it would.
And additionally, anything posted within <pre> tags will be automatically escaped from bbPress applying wpautop. This will allow for your forum users’ code snippets to keep their whitespace as they intend.