Replies: 1 comment 1 reply
-
Without marking up the div that you're placing in the column and adding padding to it using custom css, I can't think of a way to accomplish this, though it would be a very cool feature for native Quarto to support... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to add a note in the margin, to explain something in a code chunk. However, if the code chunk is lengthy (i.e., > 10 lines), I don't know how to position the margin note to be at a specific height.
I've seen the answer by @dragonstyle here, saying that:
Still, I'm not sure this statement is relevant to my problem. I'll demonstrate with an example:
And I get this
It's not what I want. It's easy to see that the margin note aligns with line
2
in the code chunk. But I want to push it down to align with line 8. Something like that:Is there a way to achieve such custom vertical positioning using quarto's features? That is, I do not want to hack the HTML/CSS by myself.
Beta Was this translation helpful? Give feedback.
All reactions