# No-Parse option for posts?

**URL:** https://meta.discourse.org/t/no-parse-option-for-posts/74927
**Category:** Support
**Created:** [November 28, 2017, 6:53am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927 "2017-11-28T06:53:50Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [November 28, 2017, 6:53am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/1 "2017-11-28T06:53:50Z")

</div>

VBulletin has NOPARSE tags that stop it from processing any HTML positioned between the tags, within a post.

This allows people to post messages explaining how to do certain markup commands, without it actually resolving the commands in that post.

Is there any way to do this on Discourse?

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [November 28, 2017, 7:22am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/2 "2017-11-28T07:22:30Z")

</div>

Use back-ticks to enclose the code.

Or select the text and click the preformatted text button:

 ![56 PM](https://global.discourse-cdn.com/meta/original/3X/0/2/02f93fef37fa0af6b117df64fc6eec0a39dba012.png)

So it looks like this:

`<strong>This is bold</strong>`

---

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [November 28, 2017, 7:28am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/3 "2017-11-28T07:28:42Z")

</div>

Thanks @omarfilip. That is exactly what I needed.

Nice and easy to do, once you know how.

Thank you.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 28, 2017, 7:08pm UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/4 "2017-11-28T19:08:31Z")

</div>

You can also do blocks with sections of triple backticks.

````
```
<code goes here>
```

````

You can also make a single line be code by preceding it with 4 spaces.

---

<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: [November 28, 2017, 10:01pm UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/5 "2017-11-28T22:01:01Z")

</div>

I recommend indenting by 4 spaces, unless you need syntax color highlighting (e.g. you are posting literal computer source code of some kind like Fortran or HTML).

```
like this

```

Just type

spacespacespacespacelike this

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 29, 2017, 6:37am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/6 "2017-11-29T06:37:34Z")

</div>

Is there a difference between four spaces and fenced code blocks I always thought they are equivalent!

---

<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: [November 29, 2017, 7:05am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/7 "2017-11-29T07:05:14Z")

</div>

Mostly but the fenced blocks imply source code and colored syntax highlighting.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 12, 2024, 2:51am UTC](https://meta.discourse.org/t/no-parse-option-for-posts/74927/10 "2024-01-12T02:51:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
