Your sites Log in Sign up Menu

How to prevent filename.org from hyperlinking?

Lots of times I write about org-mode and want to mention .org filenames, but if I write filename.org in a Markdown post, that filename will turn into a hyperlink, which I want to prevent. I found someone on Stack Overflow asking a similar question, and the workaround is to use a non-breaking zero-width space, like in the attached image, where I wrapped it in a code tag to get it monospaced. It does work with Blot, but is that the best way? Thanks!

(Oops. I forgot to attach an image and now I don’t think I can.)


a year ago, 2 replies   markdown   embedding   Improve this question

This is what I was going to include as a working example:

<code>filename&#65279;.org</code>
Answered a year ago · Improve this answer

Could you try escaping the dot like so, using the following syntax?

filename\.org
Answered a year ago · Improve this answer