2.5.3
This 2.5.3 release is the first official release for version 2.5 of Cosma. We had to publish a couple of “crash test” 2.5.x versions on NPM, following big changes in Cosma's build process. Everything should work as expected now.
Additions
- Cosma's syntax for citations is now 100% identical to Pandoc's Markdown citation syntax. This adds support for features such as writing
[prefix @key, suffix]
, or renderingAuthor (Year)
when writing@key
. - Link types can now be used on citations. This only works when citation keys are within brackets. Example:
[cites as authority:@engelbart1962]
. - Link types can now be used in CSV data, by adding a
type
header to your links table. (Pull request #104 by @snowsign)
Improvements
- Until now, there were some quirks with the way Cosma handled paths in the configuration. For instance, the value of
export_target
needed to end with a slash/
lest you end up with a weird file name (e.g.export_target: folder
would lead tofoldercosmoscope.html
). This is no longer the case. Paths can be written however you prefer:folder
,./folder
,folder/
,'folder
,"folder"
, etc. - The program's build process now include some automatic tests to improve quality assurance. Tests can be run locally (see the README) and are also ran by a GitHub Action when pushing commits. This is the first in a series of changes we plan to make to facilitate maintenance and contributions to the code.
Bug fixes
- Fixed a bug with accessing translations in
i18n.yml
. - Fixed a bug preventing the user from displaying Cosma's user manual with the command-line
man
program.