Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 521 Bytes

README.rst

File metadata and controls

37 lines (23 loc) · 521 Bytes

atsphinx-pythontutor

Embedding iframe from https://pythontutor.com

Getting started

pip install atsphinx-pythontutor

Usage

  1. Register your conf.py.
extensions = [
    ...,
    "atsphinx.pythontutor",
]
  1. Write pythontutor directive into your doc.
.. pythontutor::
   :width: 800

   items = ["a", "b", "c"]

   for item in items:
       print(item.upper())