Wiki syntax when using < code > tag

Petr Blaho pblaho at redhat.com
Tue Oct 9 16:12:51 UTC 2012


Hi all,

I know a few of us had a problems with displaying <code>sample</code> in XML examples on wiki pages.

I played a little and I found solution.
Use <pre></pre> as usual but include inner <code></code> around your
example without newlines between <pre> and <code> and your example.

Ex:

<pre><code><animal>
  <name>Rozárka</name>
  <species>cat</species>
</animal></code></pre>

You can check on https://www.aeolusproject.org/redmine/projects/aeolus/wiki/Providers where I edited 2 blocks with <code> tag in examples.

--

Petr Blaho



More information about the aeolus-devel mailing list