I find
very cumbersome to use, ie. if you have large document, it may become ugly for edit, and you would need lot's of copy pasting of
, and in the end you will also need to adjust indentation.
instead use 3 accents (```) to denote code (well, you only care about indentation and whitespace here).
for example this is how text looks without any formatting:
Enabled = "True"
Profile = ("Domain", "Private")
Direction = "OutBound"
RemotePort = ("8080", "8081")
LocalPort = ("9080", "9081")
And this is how it looks with
doing quick copy paste
Enabled = "True"
Profile = ("Domain", "Private")
Direction = "OutBound"
RemotePort = ("8080", "8081")
LocalPort = ("9080", "9081")
And here is my sulution, very simple, quick and effective:
Enabled = "True"
Profile = ("Domain", "Private")
Direction = "OutBound"
RemotePort = ("8080", "8081")
LocalPort = ("9080", "9081")
EDIT:
This last example is surrounded by 3 accents at the beginning and at the end, ex:
(```)
your text here
(```)
<br>
to create line breaks. I know this isn't the type of white space the OP discusses, but people might find this helpful. – Pollination<br>
on those Markdown renderers that support HTML, you can also just put two spaces at the end of a line to force a line break. This should work even on Markdown renderers that don't support HTML, and is also less intrusive for people reading the text file. (And, after all, readable text files even when they're not rendered is really the whole point of Markdown.) – Withdrawal