Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inline Code in DokuWiki

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.

like image 973
Alan Turing Avatar asked Jul 26 '12 05:07

Alan Turing


1 Answers

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

like image 119
Andreas Gohr Avatar answered Sep 24 '22 15:09

Andreas Gohr