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 个赞

我遇到了这个问题

PLUGIN discourse-codebytes-plugin] 为了防止测试出错,请在 `modifyClass` 调用中添加 `pluginId` 键。这将确保修改只应用一次。

您好,

很高兴能为您排查此问题。您能否提供更多关于如何重现此问题的详细信息?