Reputation: 6241
I'd like to put the following text in md file:
- Copy machine.config in the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config to some other folder
But "Microsoft.NET" is treated as a link:
And when I copy this path then an extra space is inserted.
Are there any ways to prevent this from happening (without relying on code block)?
Upvotes: 0
Views: 823
Reputation: 1
I agree with SurfMan considering that my Markdown viewer isn't highlighting Microsoft.NET as a link, but it's actually doing the same thing with filenames which include extensions.
I have found that escaping the dot with a backslash (\) works better than using backticks, as this does not alter how the characters are rendered.
Upvotes: 0
Reputation: 1803
It doesn't seem to be a problem with Markdown as such, but more the viewer that your are using. It looks like it's parsing the output (again) for anything resembling a URI.
You should enclose the path in backticks ` so the text will be treated as inline code. That will stop the viewers from converting it to a link.
Upvotes: 1