Markdown code syntax is indent each line by >=4 spaces; LW’s implementation is subtly broken since it’s stripping all the internal indentation, and another gotcha is that you can’t have any trailing whitespace or lines will be combined in a way you probably don’t want.
MediaWiki syntax is entirely different and partially depends on what extensions are enabled.
How do you get this nice box for the code? What’s the magic command that you have to tell the Wiki?
Markdown code syntax is indent each line by >=4 spaces; LW’s implementation is subtly broken since it’s stripping all the internal indentation, and another gotcha is that you can’t have any trailing whitespace or lines will be combined in a way you probably don’t want.
MediaWiki syntax is entirely different and partially depends on what extensions are enabled.