Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Format templating

Jérémie Bertrand edited this page Feb 27, 2015 · 1 revision

It is possible to override the default formating by creating a liquid template and use the --template parameter to indicate the path of the template.

The available variables are the following:

  • release_notes: contains the release notes object
  • lcb: contains the value {, useful to print the category of a semantic release note item
  • rcb: contains the value }, useful to print the category of a semantic release note item
  • categories: contains the list of all categories of the release notes
  • items_without_categories: all items without a category

You can see examples of liquid template here and here.

Actually only the templates which render markdown are supported.

Clone this wiki locally