From 3ff5f860deaf9a991427a455eac6ac6fa9af296f Mon Sep 17 00:00:00 2001 From: Mc-Zen <52877387+Mc-Zen@users.noreply.github.com> Date: Mon, 3 Mar 2025 14:56:26 +0100 Subject: [PATCH] [update] to 0.4.2 --- README.md | 14 ++++++++++---- docs/migration-to-0.4.0.md | 2 +- src/elembic | 1 + typst.toml | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) create mode 160000 src/elembic diff --git a/README.md b/README.md index db9ffdb..5bc0b73 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # Tidy *Keep it tidy.* -[![Typst Package](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FMc-Zen%2Ftidy%2Fv0.4.1%2Ftypst.toml&query=%24.package.version&prefix=v&logo=typst&label=package&color=239DAD)](https://typst.app/universe/package/tidy) +[![Typst Package](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FMc-Zen%2Ftidy%2Fv0.4.2%2Ftypst.toml&query=%24.package.version&prefix=v&logo=typst&label=package&color=239DAD)](https://typst.app/universe/package/tidy) [![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/Mc-Zen/tidy/blob/main/LICENSE) [![Test Status](https://github.com/Mc-Zen/tidy/actions/workflows/run_tests.yml/badge.svg)](https://github.com/Mc-Zen/tidy/actions/workflows/run_tests.yml) [![User Manual](https://img.shields.io/badge/manual-.pdf-purple)][guide] @@ -33,7 +33,7 @@ The [guide][guide] fully describes the usage of this module and defines document Using `tidy` is as simple as writing some doc-comments and calling: ```typ -#import "@preview/tidy:0.4.1" +#import "@preview/tidy:0.4.2" #let docs = tidy.parse-module(read("my-module.typ")) #tidy.show-module(docs, style: tidy.styles.default) @@ -117,6 +117,12 @@ A few test assertion functions are available to improve readability, simplicity, ## Changelog +### v0.4.2 +_Fixes and Improvements_ +- Code examples can now also show code that is _not_ executed on lines starting with `<<<`. +- The type `tiling` is now supported and it is shown with the new gradient. +- Fixes formatting of multiline default arguments. + ### v0.4.1 _Fixes_ - Strings containing `"//"` can now be used in default arguments. @@ -166,6 +172,6 @@ _Adds a help feature and more options_ _Initial Release_ -[guide]: https://github.com/Mc-Zen/tidy/releases/download/v0.4.1/tidy-guide.pdf +[guide]: https://github.com/Mc-Zen/tidy/releases/download/v0.4.2/tidy-guide.pdf -[migration guide]: https://github.com/Mc-Zen/tidy/tree/v0.4.1/docs/migration-to-0.4.0.md \ No newline at end of file +[migration guide]: https://github.com/Mc-Zen/tidy/tree/v0.4.2/docs/migration-to-0.4.0.md \ No newline at end of file diff --git a/docs/migration-to-0.4.0.md b/docs/migration-to-0.4.0.md index 827af3b..172960d 100644 --- a/docs/migration-to-0.4.0.md +++ b/docs/migration-to-0.4.0.md @@ -105,7 +105,7 @@ Hello world ```` With the new version, this should be replaced with ```typ -#import "@preview/tidy:0.4.1": render-examples +#import "@preview/tidy:0.4.2": render-examples #show: render-examples ... diff --git a/src/elembic b/src/elembic new file mode 160000 index 0000000..92e7bea --- /dev/null +++ b/src/elembic @@ -0,0 +1 @@ +Subproject commit 92e7beae07739a531a6a2640ec8eca7559830e93 diff --git a/typst.toml b/typst.toml index 03368cc..e664b70 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "tidy" -version = "0.4.1" +version = "0.4.2" entrypoint = "src/tidy.typ" authors = ["Mc-Zen "] license = "MIT"