# Error con \[code\]anything\[/code\] en una sola línea por sí mismo

**URL:** <https://meta.discourse.org/t/bug-with-code-anything-code-on-a-single-line-by-itself/78634>\
**Category:** Bug\
**Created:** [22 Enero, 2018 09:18 UTC](https://meta.discourse.org/t/bug-with-code-anything-code-on-a-single-line-by-itself/78634 "2018-01-22T09:18:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [22 Enero, 2018 09:23 UTC](https://meta.discourse.org/t/bug-with-code-anything-code-on-a-single-line-by-itself/78634/2 "2018-01-22T09:23:51Z")

</div>

Discourse supports the BBcode but You need a line break after [code] block for it to work.  
eg:

> [code]  
> hatiden@ubuntu:~$ gedit ~/.bashrc

```plaintext
hatiden@ubuntu:~$ gedit ~/.bashrc
hatiden@ubuntu:~$ cd /home/hatiden/garfield/

hatiden@ubuntu:~/garfield$ ls
```

---

_[View the full topic](https://meta.discourse.org/t/bug-with-code-anything-code-on-a-single-line-by-itself/78634)._
