It's better when it's simple

User Tools

Site Tools


UnformattedCode Plugin

Compatible with DokuWiki

  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes
  • 2014-05-05 "Ponder Stibbons" yes
  • 2013-12-08 "Binky" yes

plugin Overwrites the core ''monospace/code'' formatting to prevent text conversions (entities/typography) inside.

Last updated on

Tagged with code, replace


Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.


This plugin substitutes the core monospace/code formatting, so uses the same syntax (i.e. surrounded by two single quotes):

Here is some text with ''code inside which uses "special->syntax" and //other stuff//(tm)''.

This will result in nearly the same as without this plugin, except that the characters '“', '→' and '™' are not converted and you will get out exactly what you put in.

You can also use this alternative Syntax (i.e. surrounded by two double quotes):

Here is some text with ""code inside which uses "special->syntax" and //other stuff//(tm)"".

This will result in the same as above. But you can also switch the overwriting of the core syntax off in a configuration option. That way you can have the ''normal code syntax'' behaving like you are used to and the ""alternative syntax"" disallowing text conversions.



Change Log


Before reporting any issues (bugs or requests), please first take a look at the FAQ on plugin problems.

You can report any issues either on the Issue Tracker or here in this section.

Adding blanks?

Hi - I realized that your plugin (and the original code text as well) compresses blanks. So if you type two or more blanks only one blank is shown. Any way to show them all? Thanks Thore 2011-08-16

This is normal behaviour for any kind of HTML (except for <pre>). You can add “non-breaking spaces” instead if you like. As someone just recently asked the same question in the #dokuwiki IRC channel, here is the reply in the log: HenkeAnika Henke

London, UK
2011/11/24 00:14
plugin/unformattedcode.txt · Last modified: 2015-10-14 13:08 by ach