hackmd-io-issues icon indicating copy to clipboard operation
hackmd-io-issues copied to clipboard

escaping auto-generated link detection

Open govvin opened this issue 4 years ago • 1 comments

Is there a simper seem to escape a text I'd like to prevent from being detected as URL, other than quoting them as a code (which I don't like) ?

If I want to write We.Us, the pad automatically thinks it's a URL, when all I want is to write it as it is "We.Us" (without the quotes).

What's an easy to remember way to escape the dot sign?

govvin avatar May 24 '21 01:05 govvin

As far as I know, the best way to do this is to put a "<span/>" tag in front of ".". For example

  • www.google.com
  • www.google.com

The second on is written as "www<span/>.google.com" to prevent it to be treated as a link.

Not perfect but works.

codemee avatar Sep 09 '21 06:09 codemee