From 60c56da54a6f50a3e91d1646e14a627b27ca967a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20J=2E=20S=C3=A1nchez?= Date: Thu, 11 Apr 2024 17:37:25 +0200 Subject: [PATCH] release 0.9.0 --- CHANGELOG.md | 5 +++++ Cargo.lock | 2 +- Cargo.toml | 2 +- docs/cli.md | 6 ++++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bfb5c4..3496164 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased - ReleaseDate +## 0.9.0 - 2024/04/11 + +- Add more markdown customization to change all hard coded words. +- Add `--config` global arg to override the `config.toml` file used. + ## 0.8.5 - 2024/02/27 - Don't allow `serve` or `list` to run outside a collection to avoid unwanted diff --git a/Cargo.lock b/Cargo.lock index 10b1449..edf4329 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -370,7 +370,7 @@ dependencies = [ [[package]] name = "cooklang-chef" -version = "0.8.5" +version = "0.9.0" dependencies = [ "ansi-to-html", "anstream", diff --git a/Cargo.toml b/Cargo.toml index d3461c1..490e5cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cooklang-chef" -version = "0.8.5" +version = "0.9.0" edition = "2021" authors = ["Zheoni "] description = "CLI to manage cooklang recipes" diff --git a/docs/cli.md b/docs/cli.md index 86ea08c..5dfa5a6 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -148,6 +148,12 @@ description = "blockquote" # or "heading" or "hidden" escape_step_numbers = false # everything is a paragraph italic_amounts = true # put amounts in italics front_matter_name = "name" # key "name" in the frontmatter with the recipe name +heading.section = "Section %n" # used in sections without name. `%n` is the section number +heading.ingredients = "Ingredients" +heading.cookware = "Cookware" +heading.steps = "Steps" +heading.description = "Description" # used when `description = "heading" +optional_marker = "(optional)" ``` The paths in `load`, if relative, they are relative from the `.cooklang` dir.