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

">>>" in code snippets #100

Closed
EGaraldi opened this issue Dec 4, 2023 · 1 comment
Closed

">>>" in code snippets #100

EGaraldi opened this issue Dec 4, 2023 · 1 comment

Comments

@EGaraldi
Copy link

EGaraldi commented Dec 4, 2023

In the tutorial, some of the code snippets provided have the code prepended by ">>> " making it hard to copy-paste the code into the terminal.

@cbyrohl
Copy link
Owner

cbyrohl commented Dec 8, 2023

I would still favor pycon mode (implying the use of ">>>") to reduce number of code cells (i.e. splitting input and output), as done in e.g. the scipy user guide). We can manipulate the css to never select the ">>>" when manually copy & pasting using the mouse selection, see here, to make the copy-paste more hassle free. Unfortunately, this will not be possible for the copy&paste button (see here), so I deactivated the button for pycon cells in cdc57b9

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

No branches or pull requests

2 participants