Thanks for your excellent work on typst and polylux and codly- I’m enjoying using it thoroughly! I had a question: could you tell me how I can get the highlights to work on codly
without modifying the line spacing? Meaning, the line with the highlights seems “wider”, i.e. has more padding around it than the other lines, which I’d prefer not to have.
For example, the code
#codly(
highlights: ((line: 2, start: 15, end: 19, fill: red), )
)
```rust
fn test(x) {
let apple = x + 1;
let cat = [apple, buck];
let buck = a + 1;
return c
}
```
Or is there some way to highlight parts of code blocks directly (without using codly) that achieves this effect (much like the “escape-characters” in latex’s listings?)
Hi – yes, I should have mentioned in my original post that I tried to use the highlight-inset as advised in the manual, but it seemed to make no difference at all in my document? As in changing the x and y to arbitrary different values seemed to make no change whatsoever?