v2.0.0
This major release brings forth several new features and improvements.
It is major due to updated dependencies, significant code refactoring and modifications to the underlying implementation of various elements (such as insertions and deletions, underlines and strikethroughs, highlights, rendered code blocks, and divs).
However, for the majority of users, these changes should be seamless and have little noticeable impact on existing workflows.
New features
- Common
- Add a better fallback support for highlighted content (a.k.a. "mark"). (#112, #110)
- Customizable strike, underline, insertion, deletion and mark. (#112)
It offers an exact parity between these inline elements (from Djot and Markdown) with spans with a similar class, so both syntaxes are strictly equivalent. When resilient styles are used, this also offers the possibility to fully customize the appearance of these spans. - Support bare percentage in width and height key-value attributes (#114, #113)
It is now possible to specify e.g.width="50%"
as an image size, and the converters take care of converting it towidth="50%lw"
(SILE-specific unit). - Generic rendered code blocks are based on raw handlers and embedders. (#112, #111)
This removes the hard-coded class specifiers, allowing any existing SILE "raw handler" or any "embedder" to be used.
For instance, if the piecharts package is available, we can render blocks marked aspiechart
since the package provides a raw handler by that name. - CSV file as image source is interpreted as a pie chart. (#112, #111)
In addition to the generic processing on code blocks mentioned above, it allows using an external CSV pie chart file.
- Djot
- (Djot extension) caption on Div blocks. (#112)
We already added caption support on block quotes earlier. This adds it too for divs, interpreted as captioned figures.
- (Djot extension) caption on Div blocks. (#112)
Fixes
- Djot:
- Improve error handling in Djot to report location details (#109)
Other notable changes
The documentation has been completely overhauled, providing more thorough installation instructions.
The primary focus is now on Djot, presented first with a comprehensive description of its syntax, and many examples.
Following Djot, Markdown is introduced, along with notes highlighting its differences from Djot.