creating code examples #509
CagtayFabry
started this conversation in
General
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.
Uh oh!
There was an error while loading. Please reload this page.
just stumbled upon this neat little tool to create example snippets (with outputs) e.g. for docstrings:
https://github.com/jayqi/reprexlite
Also directly in jupyter
https://github.com/jayqi/reprexlite#ipythonjupyter-cell-magic
The API documentation (formatting options) can be found here:
https://jayqi.github.io/reprexlite/stable/api-reference/reprex/
for the jupyter cell-magic:
https://jayqi.github.io/reprexlite/stable/ipython-jupyter-magic/
All reactions