Brython + Docusaurus = ❤️
#
Hello World```py live_pyprint('Hello World')```
results in
print('Hello World')
#
With Title```py live_py title=Your-first_Programprint('Hello Title')```
results in
Your-first_Program
print('Hello Title')
#
or```py live_py title=hello__world.pyprint('Hello Underscore')```
results in
hello__world.py
print('Hello Underscore')
#
Slim Mode```py live_py slimprint('Hello Slim Mode')```
results in
print('Hello Slim Mode')
#
TurtlesSay hello to turtles
turtle.py
from turtle import *color('red', 'yellow')begin_fill()while True: forward(200) left(170) p = pos() if abs(p[0]) < 1 and abs(p[1]) < 1: breakend_fill()done()