Releases: Dherse/codly
Releases · Dherse/codly
Codly v1.3.1
What's Changed
- Fix highlight inset not taking effect by @KoviRobi in #79
- Fix
highlight-lineswithnumbers-format: noneby @WaffleLapkin in #88 - Fix padding with
display-icon=trueanddisplay-name=falseby @t1mlange in #90 - Improved resistance to external set-rules
- Fixed highlight-inset issue when using highlight tags
- Add override of highlight styling per item + doc improvements
- Fixed nested highlights
New Contributors
- @WaffleLapkin made their first contribution in #88
- @t1mlange made their first contribution in #90
Full Changelog: v1.3.0...v1.3.1
Codly v1.3.0
What's Changed
- Codly updated to be compatible with v0.13.0
- You can now have numbers outside of the margin 🎉
- You can now highlight entire lines 🎉
- Improved highlighting spacing
- Improved performance
- Contextual functions should be fixed
- Fixed language box not showing when the first line is not included
- Added
yes-codlyto locally enable codly - Lots of fixes on annotations (including many that were never reported)
- CI pipeline updated
New Contributors
Full Changelog: v1.2.0...v1.3.0

Codly v1.2.0
What's Changed
⚠️ Breaking change: now all line references inannotations,highlights,range,ranges, etc. are all one-indexedhighlightsandannotationsused to be zero-indexed #48
⚠️ Breaking change: Codly internals are no longer visible (i.e exported), if you needed them, feel free to open an issue and I will make them public behind acodly-internalvariable⚠️ Breaking change: Codly uses a new system for references that no longer uses ashow ref: ...and instead relies on figure with the kindscodly-lineandcodly-referencer, be mindful that your show rules do not override those.- Quality of life change: Better code completion when using tinymist 🎉
- Quality of life change: codly references no longer invoke the
linkshow rules, which leads to consistent styling with other references. - Codly should be compatible with Typst 0.13 as soon as it comes out (or close to ready)
- Add highlight-outset, highlight-clip by @KoviRobi in #51
- Fixed
skipsnot resetting after every code blocks #50 - Fixed
skipsadding two lines when line numbers are disabled #52 - Fixed regression on errors for missing block labels #47
- Added the new
smart-skipfeature #49- Automatically add a skip when having discontinuous ranges
- Additionally supports only enabling it in certain "parts" of the code blocks
- [internal] Improved code organization
- [internal] Improved regression tests
New Contributors
Full Changelog: v1.1.1...v1.2.0
Codly v1.1.1
Fixed a critical bug #45
What's Changed
- Update import example in docs to use Codly 1.1.0 by @Aaron-Rumpler in #43
- Fixes to Fonts by @Aaron-Rumpler in #44
Full Changelog: v1.1.0...v1.1.1
Why a second release with the same number?
I had accidentally committed code with the wrong email address, I edited the git history to fix this mistake. So I had to re-publish the release, sorry for any inconvenience.
Codly v1.1.0
As always, refer to the documentation.
Changelog
This is a new release for Codly, find the list of changes below:
Changelog
- Codly now makes use of
raw.lineagain, allowing further styling usingshow raw.lineshow rules - Fixed spelling & syntax issues in README.md
- Highlights:
- Allows for more than one range of lines to be shown a1e6f84
- Added header and footer arguments #28
- New documentation
- Guide on getting nice icons
- Guide on local states
- More examples
- Improved style and readability
- More powerful relational offsets (i.e offset a code block by the number of lines in another one) #39
- local:
⚠️ Breaking change: No longer supports nested local blocks by default, requiresnested: trueargument⚠️ Breaking change: No longer supports disabling codly by settingenabled: false- Significantly increased performance (linear speedup with document length, can be >> 10x for long docs)
- Explicit support of nested locals using states
- Significantly increased performance using new argument handling, and improved argument handling
- Disables paragraph justification by default, small visual improvement #26
- Smart indentation now works without line numbers
- Adds a built-in
typst-iconfunction for setting thelanguagesargument to have a typst syntax - Fixed line height regression 6032572
- Make full use of Typst v0.12.0 features (i.e
context,to-dict, etc.) insetcan now take a dictionary for further customization- Now officially supports per-language settings! (see docs!)
- Improved referencing:
- Shorthand syntax for line referencing:
@my-block:4 - New guide in the documentation
- Shorthand syntax for line referencing:
What's Changed
- Fix some syntax issues in the readme by @JohnMeyerhoff in #23
- Fixes to documentation by @Aaron-Rumpler in #38
New Contributors
- @JohnMeyerhoff made their first contribution in #23
- @Aaron-Rumpler made their first contribution in #38
Full Changelog: v1.0.0...v1.1.0
Codly v1.0.0
First "full" release of codly, feature set can be assumed to be (close to) final until custom types are available in Typst.
Simplified changelog:
- New documentation
- Improved customization:
- Make use of context over old system (locate & styles): closes #20 #18
- Fixed:
- zebra-strip disabling
- incorrect positioning of language box
- Improved handling of complex color fills (i.e gradient & patterns)
- Added highlights: allows highlighting portions of code and (optionally) referencing them, all parameters configurable (stroke, fill, inset, etc.)

- Added line skips: allows creating "jump" in line count, what's inserted by default is
..., can be customized

- Added annotations: allows annotating a (group of) line(s) and referencing them (optionally)

- Added helper functions:
local,no-codly,codly-skip, etc.