# Codebytes Plugin

**URL:** https://meta.discourse.org/t/codebytes-plugin/196990
**Category:** Plugin
**Created:** [July 13, 2021, 2:53pm UTC](https://meta.discourse.org/t/codebytes-plugin/196990 "2021-07-13T14:53:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alekz](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@alekz](https://meta.discourse.org/u/alekz)
#### Post date: [July 13, 2021, 2:53pm UTC](https://meta.discourse.org/t/codebytes-plugin/196990/1 "2021-07-13T14:53:36Z")

</div>

**Summary**  
Codebytes are embeddable, executable, and editable code blocks in your forum posts/replies

🔗 **Help Center article / FAQs** : [https://help.codecademy.com/hc/en-us/articles/1260806285369-Codebytes](https://help.codecademy.com/hc/en-us/articles/1260806285369-Codebytes)

🔗 **GitHub** : [GitHub - Codecademy/discourse-codebytes-plugin · GitHub](https://github.com/Codecademy/discourse-codebytes-plugin)

➡ **Install** :

- Follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157).
- In admin settings, check that “code bytes enabled” is checked  
 ![setup](https://global.discourse-cdn.com/meta/original/3X/3/b/3b6824efd941cedfe6f862d0d7024dd0451b7e2d.png)

### Features

- Embed executable code directly in a forum post or reply to get feedback, support, or to share your code snippet with the community
- No setup required. Write, share and run code directly in forums, right from your browser
- Read, Write, and Edit code in Python 3, Ruby, JavaScript, C++, C#, Go, and PHP
- Interact with Codebytes directly in posts; no need to copy and paste code into an IDE

### Limitations

- Not built or optimized for mobile experiences

### Examples of usage

- [Example 1](https://discuss.codecademy.com/t/whats-wrong-with-my-var-having-a-greater-than-sign/590860/5)
- [Example 2](https://discuss.codecademy.com/t/list-has-no-attribute-strip-try-a-for-loop/438153/52?u=anli2)
- [Example 3](https://discuss.codecademy.com/t/code-not-giving-any-output/590221/14)

### Screenshoots

**Creating a codebyte**

![60b687a06f8e5-1622575008.4569](https://global.discourse-cdn.com/meta/original/3X/5/d/5d2d20a595a15acf2b6b5f77505b87d9c25d9b36.gif)

 ![create](https://global.discourse-cdn.com/meta/original/3X/7/8/78a2506a09463dd7333b38faf11f6e710ef05c60.png)

  
  

**Selecting a language**

 ![select](https://global.discourse-cdn.com/meta/original/3X/9/f/9fe4c1e167918d7dd179aac858ea9a86e13a26ad.png)

  
  

**Editing your Codebyte**

 ![edit](https://global.discourse-cdn.com/meta/original/3X/4/5/45dca012e6f952d2bea97cd32c8b8c69e193fee1.png)

---

<div class="post-metadata">

### Author: ![Chan\_Patrick](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chan_patrick/32/264297_2.png) [@Chan\_Patrick](https://meta.discourse.org/u/Chan_Patrick)
#### Post date: [September 5, 2022, 4:25am UTC](https://meta.discourse.org/t/codebytes-plugin/196990/2 "2022-09-05T04:25:04Z")

</div>

i got this

```plaintext
PLUGIN discourse-codebytes-plugin] To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once.

```

---

<div class="post-metadata">

### Author: ![alekz](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@alekz](https://meta.discourse.org/u/alekz)
#### Post date: [September 12, 2022, 6:29pm UTC](https://meta.discourse.org/t/codebytes-plugin/196990/3 "2022-09-12T18:29:50Z")

</div>

Hi,

Happy to look into this. Can you please provide more details on how to reproduce this?
