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

Adjusted code block spacing for improved copy-paste #67

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

hansemro
Copy link
Contributor

@hansemro
Copy link
Contributor Author

hansemro commented Sep 13, 2023

Text will be spaced less apart to reduce unwanted space insertion. Maybe this is less readable, but at least this is more reliably copied.

@hansemro

This comment was marked as outdated.

@hansemro hansemro marked this pull request as draft September 13, 2023 20:13
@hansemro

This comment was marked as outdated.

@hansemro

This comment was marked as outdated.

@hansemro
Copy link
Contributor Author

Specified \lstset{prebreak=\textbackslash} to insert multiline breaks (\) for multiline commands. This will also split long URLs as shown for the wget command without manually inserting multiline breaks.

image

However, we cannot rely on listings package to always insert breaks in sensible locations (sometimes in the middle of an argument), so I had to manually insert some.

@hansemro hansemro marked this pull request as ready for review September 17, 2023 23:12
@hansemro
Copy link
Contributor Author

This should be ready for review.

@azonenberg azonenberg merged commit acb2c08 into ngscopeclient:master Sep 18, 2023
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

Successfully merging this pull request may close these issues.

Can't copy paste the command on the getting started manual directly
2 participants