Wiki syntax when using < code > tag

Justin Clift jclift at redhat.com
Tue Oct 9 16:52:40 UTC 2012


On 10/10/2012, at 3:12 AM, Petr Blaho wrote:
> 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.

Good thinking Petr. :)

+ Justin

--
Aeolus Community Manager
http://www.aeolusproject.org




More information about the aeolus-devel mailing list