# Difficulty using the code tag \</\>

**URL:** <https://meta.discourse.org/t/difficulty-using-the-code-tag/31075>\
**Category:** Feature\
**Created:** [July 15, 2015, 9:54am UTC](https://meta.discourse.org/t/difficulty-using-the-code-tag/31075 "2015-07-15T09:54:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gingerling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerling/32/42360_2.png) [@gingerling](https://meta.discourse.org/u/gingerling)\
**Post date:** [July 15, 2015, 9:54am UTC](https://meta.discourse.org/t/difficulty-using-the-code-tag/31075/1 "2015-07-15T09:54:27Z")

</div>

Hi

On [discuss.phpList.org](http://discuss.phpList.org) our users are having issues with the code tag. There seem to be two methods of using it

1. paste in your code, select it, and click the code tag - that works fine
2. Click the code tag and paste your code - this does not work

First of all, clicking the code tag says “indent preformatted text by 4 spaces” which is selected, persumably so if you paste it replaces it? This is very counter-intuitive, perhaps “paste your code” could be more helpful? Secondly, when you then paste the code, the formatting seems to be wiped anyway, so the code tag does not work. Perhaps I am misunderstanding something here?

method 1) is quite cumbersome, so I assumed method 2 was the intended use.

Anyway, there has been a long served forum mod who has struggled with this some much he just stopped modding 😕

---

_[View the full topic](https://meta.discourse.org/t/difficulty-using-the-code-tag/31075)._
