# Problem posting code to projects

**URL:** <https://community.smartthings.com/t/problem-posting-code-to-projects/401>\
**Category:** General Discussion\
**Tags:** archive\_general\
**Created:** [June 17, 2013, 9:45pm UTC](https://community.smartthings.com/t/problem-posting-code-to-projects/401 "2013-06-17T21:45:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![egarl004](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@egarl004](https://community.smartthings.com/u/egarl004)\
**Post date:** [June 17, 2013, 9:45pm UTC](https://community.smartthings.com/t/problem-posting-code-to-projects/401/1 "2013-06-17T21:45:12Z")

</div>

I’m trying to post the code of a project I’m working on but I get some errors. For one, using just the “code” tag causes some weird formatting issues i.e. some text is light grey while other text is highlighted in dark grey (not the hole code- just a few lines). I went to other posts that were successful, viewed page source, and I noticed the tag “pre” before “code”. Seemed to work fine except my code cuts off about 3/4 of the way through… any ideas?

---

<div class="post-metadata">

**Author:** ![twack](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/twack/32/18039_2.png) [@twack](https://community.smartthings.com/u/twack)\
**Post date:** [June 17, 2013, 10:41pm UTC](https://community.smartthings.com/t/problem-posting-code-to-projects/401/2 "2013-06-17T22:41:45Z")

</div>

Using the hotel markup view I use the tags like this:

```auto
...... 
...... 
.... My real code
.... 
.... 

```

---

<div class="post-metadata">

**Author:** ![twack](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/twack/32/18039_2.png) [@twack](https://community.smartthings.com/u/twack)\
**Post date:** [June 17, 2013, 10:42pm UTC](https://community.smartthings.com/t/problem-posting-code-to-projects/401/3 "2013-06-17T22:42:59Z")

</div>



---

<div class="post-metadata">

**Author:** ![twack](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/twack/32/18039_2.png) [@twack](https://community.smartthings.com/u/twack)\
**Post date:** [June 17, 2013, 10:51pm UTC](https://community.smartthings.com/t/problem-posting-code-to-projects/401/4 "2013-06-17T22:51:41Z")

</div>

Sorry! disregard my previous posts. For some reason I cannot delete or edit them correctly.

---

<div class="post-metadata">

**Author:** ![egarl004](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@egarl004](https://community.smartthings.com/u/egarl004)\
**Post date:** [June 18, 2013, 8:45am UTC](https://community.smartthings.com/t/problem-posting-code-to-projects/401/5 "2013-06-18T08:45:47Z")

</div>

Thanks, twack. I think I’m doing the same. Problem must be elsewhere.
