More actions
No edit summary |
m →Example |
||
| Line 13: | Line 13: | ||
Would result in this: | Would result in this: | ||
{{code|{{ foo | bar }}}} | {{code|<nowiki>{{ foo | bar }}</nowiki>}} | ||
And this code: | And this code: | ||
| Line 21: | Line 21: | ||
Would result in this: | Would result in this: | ||
{{code|Foo | |||
bar | bar | ||
Hah! | Hah!}} | ||
Similarly this code: | Similarly this code: | ||
| Line 30: | Line 30: | ||
Would result in this: | Would result in this: | ||
{{code|10 PRINT "Hello World!" | |||
20 END | 20 END}} | ||
Using it inline, like this: | Using it inline, like this: | ||
| Line 38: | Line 38: | ||
Would result in this: | Would result in this: | ||
{{co|grey|Foo}} | {{co|grey|Foo}}{{code|Foo what? Huh? Huh!}}{{co|grey| bar}} | ||
This as opposed to how <nowiki><pre></pre></nowiki> tags usually work: | This as opposed to how <nowiki><pre></pre></nowiki> tags usually work: | ||