# Disable markdown and buttons in form

**URL:** https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390
**Category:** Feature
**Created:** [October 21, 2014, 10:36pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390 "2014-10-21T22:36:07Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [October 21, 2014, 10:36pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/1 "2014-10-21T22:36:07Z")

</div>

Is it possible to disable markdown and buttons in the form to create/edit a topic/response?

---

<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: [October 21, 2014, 10:37pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/2 "2014-10-21T22:37:49Z")

</div>

You can disable the buttons via CSS (set them to display:none) in Admin, Customize, CSS.

`#wmd-button-bar { display: none; }`

---

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [October 21, 2014, 10:39pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/3 "2014-10-21T22:39:30Z")

</div>

Thank you. But Markdown parsing will still be working.

Can we also disable it?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [October 21, 2014, 11:18pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/4 "2014-10-21T23:18:09Z")

</div>

Uh, I think you could do that with a dialect, but why?

Your newlines wouldn’t work anymore (HTML will turn them into spaces), and people could still type HTML to get formatting.

This is an odd request - what do you actually want?

---

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [October 21, 2014, 11:21pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/5 "2014-10-21T23:21:56Z")

</div>

Indeed, for my project I think that allow only newlines and links will be great, but I don’t want to allow **bold** , _italic_, etc.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [October 21, 2014, 11:23pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/6 "2014-10-21T23:23:54Z")

</div>

How about turning them off with CSS?

```plaintext
.cooked {
  b, strong {
    font-weight: normal;
  }
  i, cite, em, var, address, dfn {
    font-style: normal;
  }
  // .....
}

```

---

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [October 21, 2014, 11:36pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/7 "2014-10-21T23:36:01Z")

</div>

Smart idea! Thanks I didn’t think about it.

---

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [November 5, 2014, 3:35pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/8 "2014-11-05T15:35:35Z")

</div>

Do you know how I can disable markdown only for users/visitors but enable it for administrators? I don’t find any CSS tip to do it.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 5, 2014, 3:40pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/9 "2014-11-05T15:40:18Z")

</div>

You can’t do that via CSS. Markdown has nothing to do with CSS. I’m not sure why you’d want to do this to begin with. Why do you not want your users to format their content with markdown?

Are you afraid they’ll abuse it? Not know how to use it?

---

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [November 5, 2014, 5:34pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/10 "2014-11-05T17:34:18Z")

</div>

> [@cpradio](#):
>
> You can’t do that via CSS. Markdown has nothing to do with CSS.

Look at the all conversation and you will understand why I’m talking about CSS tip.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 5, 2014, 5:42pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/11 "2014-11-05T17:42:08Z")

</div>

Yes, and that’s a “clever” option, but I still don’t get it the “why”

---

<div class="post-metadata">

### Author: ![benjamin\_bnds](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@benjamin\_bnds](https://meta.discourse.org/u/benjamin_bnds)
#### Post date: [November 5, 2014, 5:57pm UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/12 "2014-11-05T17:57:51Z")

</div>

Actually you’ve got the point 😉

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 4, 2025, 11:32am UTC](https://meta.discourse.org/t/disable-markdown-and-buttons-in-form/21390/13 "2025-12-04T11:32:29Z")

</div>


