This is the first patch release in the 2.1.x release line. It's once again focused on the columnar layout, fixing one edge case and providing additional information for extensions. This release also addresses a crash when using CodeRay as the syntax highlighter and a code block uses a source language that CodeRay does not recognize.
An SVG that's shorter than the height of the current column will be placed in the correct column. The Extent for a decorated block provides access to the zero-based column where the block starts (from.column
) and where the cursor was when the block was encountered (current.column
). This information is used by the extended converter in the docs that demonstrates how to imprint the source language label on a code block.
The converter now draws a border around a phrase with a custom role using the base border color if the role defines a border width without a border color.
Distribution
Changelog
Improvements
- store zero-based column on Extent for extensions to use to position cursor at start of extent
Bug Fixes
- place block image in SVG format in correct column when align is left and page columns are enabled (#2241)
- accurately trap LoadError from CodeRay if source language is not recognized on code block
- only draw rounded rectangle around phrase if
border-radius
is > 0 - use
base-border-color
value if border width is set on role for inline phrase but not border color
Release meta
Released on: 2022-06-14
Released by: @mojavelinux
Release beer: Field Guide by Outer Range Brewing Co.
Logs: resolved issues | full diff
Credits
A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.