Inline Code in DokuWiki

Alan Turing picture Alan Turing · Jul 26, 2012 · Viewed 11.1k times · Source

I'm looking for a way to include code as part of a paragraph in DokuWiki like I can by adding backtick escapes in StackOverflow like _so_. Simply adding <code>bla</code> puts code on it's own line.

Answer

Andreas Gohr picture Andreas Gohr · Jul 26, 2012

You probably want to use ''%%here is code%%''. This formats it in monospace ('') and prevents any interpretion of possible wiki markup (%%).