-
I have a bit of text: #show raw: (it) => {
show: highlight.with(fill: luma(80%))
it
}
- padded: ` one two three ` However, the gray background doesn't extend for one space past the Is there a way to fix this, or is this a bug? |
Beta Was this translation helpful? Give feedback.
Answered by
8LWXpg
Jan 1, 2024
Replies: 2 comments
-
That's because trailing whitespaces is trimmed by #show raw: (it) => {
show: highlight.with(fill: luma(80%))
it + sym.zws
}
- padded: ` one two three ` |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adiabatic
-
It's a bug: #597 |
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
That's because trailing whitespaces is trimmed by
raw
. you can add zero width space at the end of the string.