WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WYSIWYG Inline Code Command

Adds a button and keybinding to the WYSIWYG (visual) editor to mark text as inline code.

The WYSIWYG Inline Code Command plugin adds an "inline code" command to the WYSIWYG (visual) post and page editor. It's just like the "Bold" or "Italics" commands, except that it makes your text look like code -- usually, this means that it's drawn in a monospace font like this. The comand is accessible as a button and with the keybinding Alt-Shift-C.

The unmodified editor does provide a pre style that's somewhat similar, but it's a block style, which means that you can only apply it to whole paragraphs. I wrote this plugin because I found that I often want to apply code styling to shorter pieces of computer-y content, such as the

Alt-Shift-C

above.

I encourage you to provide feedback about this plugin. Entries on the compatibility matrix are especially helpful so that people can feel confident installing it. Thanks!

The WYSIWIG Inline Code Command plugin provides precisely this one feature, so don't expect it to be updated very often. One issue that I'm aware but don't know quite how to fix is that the user-visible text describing the command in the editor isn't internationalized.

Requires: 3.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-20
Downloads: 4,875

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1
100,2,2
100,1,1
100,1,1 100,1,1
100,2,2
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1