Summary
Codebytes are embeddable, executable, and editable code blocks in your forum posts/replies
Help Center article / FAQs: Codebytes – Codecademy Help Center
GitHub: GitHub - Codecademy/discourse-codebytes-plugin
Install:
- Follow the plugin installation guide.
- In admin settings, check that “code bytes enabled” is checked
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
Screenshoots
Creating a codebyte
Selecting a language
Editing your Codebyte