Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Utility of sphinx-prompt #168

Closed
michaelweinold opened this issue Sep 18, 2024 · 1 comment
Closed

Evaluate Utility of sphinx-prompt #168

michaelweinold opened this issue Sep 18, 2024 · 1 comment

Comments

@michaelweinold
Copy link
Contributor

...perhaps following up on the conversation here:

After all, it is not clear if this extension is still needed:

@michaelweinold
Copy link
Contributor Author

We actually don't need sphinx-prompt. Sphinx itself recognizes prompt characters >>> and I have now configured sphinx-copybutton to do the same.

These code cells:

Screenshot 2024-09-18 at 07 55 12

when copied will now yield:

from pandas import DataFrame
df = sp.statistics()
sp.statistics()

@cmutel, please just use >>> instead of >.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant