Docusaurus Brython Code Blocks #2453
lebalz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Docusaurus Live Brython
👉 Docusarus is a popular, opensource documentation framework written in react. It can turn your markdown documents (and
.mdx
containing react components too) to a modern, statically generated single page application.The plugin
docusaurus-live-brython
lets you write python code blocks in docusaurus 3, which are automatically transformed to a interactive and executable code editor. Brython is used to execute the code.You only need to add the
live_py
metastring to your code block:and will be presented with the editor...
Check it out 👉 https://lebalz.github.io/docusaurus-live-brython/
Disclosure: obviously, i'm the author of docusaurus-live-brython.
I thought you would be interested. Otherwise, please feel free to close this.
Beta Was this translation helpful? Give feedback.
All reactions