]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/wiki_links_still_processed_inside_code_blocks.mdwn
add a link to patchqueue post
[ikiwiki.git] / doc / bugs / wiki_links_still_processed_inside_code_blocks.mdwn
1 In [[markdown]] syntax, none of the other special characters get processed inside a code block.  However, in ikiwiki, [[wiki links|wikilink]] and [[preprocessor directives|preprocessordirective]] still get processed inside a code block, requiring additional escaping.  For example, `[links don't work](#here)`, but `a [[wikilink]] becomes HTML`. --[[JoshTriplett]]
2
3 Indented lines provide a good way to escape a block of text containing
4 markdown syntax, but ikiwiki links like \[[this]] are still
5 interpreted within such a block. I think that intepretation should not
6 be happening. That is I should be able to write:
7
8         [[this]]
9
10 and have it render like:
11
12         \[[this]]
13
14 --[[cworth]]