An open API service indexing awesome lists of open source software.

https://github.com/crilleengvall/wordpress-editor-pre-code-wrapper

Adds a plugin to tinyMCE to quickly wrap or insert <pre><code> tags - Plays good with highlight.js
https://github.com/crilleengvall/wordpress-editor-pre-code-wrapper

code highlight tinymce wordpress

Last synced: about 2 months ago
JSON representation

Adds a plugin to tinyMCE to quickly wrap or insert <pre><code> tags - Plays good with highlight.js

Awesome Lists containing this project

README

          

# Wordpress editor-pre-code-wrapper
This is a plugin that adds a button to the tinyMCE editor in WordPress. The button either adds a <pre><code></pre></code> or wraps the selected text in it.

This works well for developer blogs that use some kind of code markup highlighter. For example the WP Code highlight.js plugin

![Screenshot](https://raw.githubusercontent.com/crilleengvall/Wordpress-editor-pre-code-wrapper/gh-pages/images/Wordpress-tinyMCE-Pre-code-wrapper-screenshot.png?raw=true)

[Official Webpage](https://crilleengvall.github.io/Wordpress-editor-pre-code-wrapper/)