The lang block is currently always aligned right + horizon
However, when the first line of code wraps (especially multiple times) this lang block is no longer at the top of the code block. Changing the default is a stylistic preference and might have unintended consequences, but providing a lang-align argument to the codly function would enable to user to fix this if they prefer the lang block flush at the top, as I do.
Let me know if it'd be possible to do this, and if you'd like me to make a pull request for it.
The lang block is currently always aligned
right + horizoncodly/src/lib.typ
Line 1422 in ece8099
However, when the first line of code wraps (especially multiple times) this lang block is no longer at the top of the code block. Changing the default is a stylistic preference and might have unintended consequences, but providing a
lang-alignargument to thecodlyfunction would enable to user to fix this if they prefer the lang block flush at the top, as I do.Let me know if it'd be possible to do this, and if you'd like me to make a pull request for it.