You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the code examples have spurious leading white-space, making copy-paste more difficult than it needs to be.
For example, selecting the first code example (hard to see because it's black on dark grey) selects the text " pip install pandapower" - note the leading space:
By adding the CSS white-space property:
code {white-space:pre-line;}
the selection is reduced to just the text:
For Python, which is indentation sensitive this can be a problem. I don't believe this adversely affects any of the examples, but makes it nicer for people to use your examples in a simplified workflow.
Unfortunately, I can't suggest how to do this change with the "Minimal Mistakes Jekyll Theme" currently in use, there is no obvious CSS file to add it to.
The text was updated successfully, but these errors were encountered:
This could be fixed by changing the css theme. But the better fix would be to actually fix the Markdown file that includes these whitespaces. See start.md
Many of the code examples have spurious leading white-space, making copy-paste more difficult than it needs to be.
For example, selecting the first code example (hard to see because it's black on dark grey) selects the text " pip install pandapower" - note the leading space:
By adding the CSS white-space property:
the selection is reduced to just the text:
For Python, which is indentation sensitive this can be a problem. I don't believe this adversely affects any of the examples, but makes it nicer for people to use your examples in a simplified workflow.
Unfortunately, I can't suggest how to do this change with the "Minimal Mistakes Jekyll Theme" currently in use, there is no obvious CSS file to add it to.
The text was updated successfully, but these errors were encountered: