# 如何防止自动解析URL

**URL:** <https://meta.discourse.org/t/how-to-prevent-automatic-parsing-of-urls/66204>\
**Category:** Support\
**Created:** [2017年七月14日 14:39 UTC](https://meta.discourse.org/t/how-to-prevent-automatic-parsing-of-urls/66204 "2017-07-14T14:39:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [2017年七月14日 14:39 UTC](https://meta.discourse.org/t/how-to-prevent-automatic-parsing-of-urls/66204/1 "2017-07-14T14:39:19Z")

</div>

I’m trying to write an instruction where I want the user to copy paste a URL:

This text  
`> * Copy paste this url _some.hostname.com_ in to the top box`

Is rendered as:

> - Copy paste this url _[some.hostname.com](http://some.hostname.com)_ in to the top box

I don’t want discourse to automatically parse the URL since it makes copying it difficult for users and they end up clicking the link instead of copying it which defeats the purpose of the instruction.

How can I do this?

I know this is tricky because you want the forum to automatically parse the URL for most URL’s but is there a way to specify that it should not parse _this_ URL? If not can this be a request?

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2017年七月14日 14:41 UTC](https://meta.discourse.org/t/how-to-prevent-automatic-parsing-of-urls/66204/2 "2017-07-14T14:41:12Z")

</div>

You can use backticks.

```plaintext
`www.discourse.org`

```

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年七月14日 22:26 UTC](https://meta.discourse.org/t/how-to-prevent-automatic-parsing-of-urls/66204/3 "2017-07-14T22:26:37Z")

</div>

In general check out [Markdown Reference](http://commonmark.org/help) for reference on issues like this! Try the 10 minute interactive tutorial, it teaches a lot.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:44 UTC](https://meta.discourse.org/t/how-to-prevent-automatic-parsing-of-urls/66204/4 "2024-06-08T12:44:29Z")

</div>

此主题已在 2520 天后自动关闭。不再允许回复。
