Plugin Codebytes

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

:link: Help Center article / FAQs: Codebytes – Codecademy Help Center

:link: GitHub: GitHub - Codecademy/discourse-codebytes-plugin

:arrow_right: Install:

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

60b687a06f8e5-1622575008.4569



Selecting a language



Editing your Codebyte

14 curtidas

Recebi isto

PLUGIN discourse-codebytes-plugin] Para evitar erros em testes, adicione uma chave `pluginId` à sua chamada `modifyClass`. Isso garantirá que a modificação seja aplicada apenas uma vez.

Oi,

Ficarei feliz em analisar isso. Você poderia, por favor, fornecer mais detalhes sobre como reproduzir isso?