How do I wrap-anywhere code blocks? #6083
Unanswered
lambdacalculator
asked this question in
Q&A
Replies: 1 comment
-
In HTML, you can use the ---
format:
html:
code-overflow: wrap
include-in-header:
- text: |
<style>
.sourceCode {
word-break: break-word;
}
</style>
---
```{r}
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
``` |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Description
I understand that
can be used to wrap long lines inside of code blocks, but this apparently only wraps at white space. What if I want breaks to happen at container boundaries, even when multiple lines consist of one long word?
Beta Was this translation helpful? Give feedback.
All reactions