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.
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.