https://sourceforge.net/apps/trac/sourceforge/ticket/14975
Using Markdown Wiki in SF 2.0 words with dash are strange rendered. For example effect of:
<build-number>${BUILD_NUMBER}</build-number>
is the first "-Number" in red square.
See:
https://sourceforge.net/p/appinfo/home/
(or attached screenshot)
I tried finding a reason for this in the Markdown syntax, but I couldn't find anything, any explanation or way to workaround this?
We use Python's [http://www.freewisdom.org/projects/python-markdown/ Markdown] and the [http://www.freewisdom.org/projects/python-markdown/CodeHilite CodeHilite] extension, which in turn uses [http://pygments.org/ Pygments] to highlight code blocks.
The problem appears to be that Pygments cannot correctly guess which language parser to use on your code blocks, so in this case I would suggest forcing the language type, by prepending the block with :::language, i.e.
If you have any questions, please let me know.
The markdown syntax help docs already have the correct section on code hi-lighting.