Skip to content

Commit

Permalink
[update] to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mc-Zen committed Mar 3, 2025
1 parent c4c036b commit 3ff5f86
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
[migration guide]: https://github.com/Mc-Zen/tidy/tree/v0.4.2/docs/migration-to-0.4.0.md
2 changes: 1 addition & 1 deletion docs/migration-to-0.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
...
Expand Down
1 change: 1 addition & 0 deletions src/elembic
Submodule elembic added at 92e7be
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tidy"
version = "0.4.1"
version = "0.4.2"
entrypoint = "src/tidy.typ"
authors = ["Mc-Zen <https://github.com/Mc-Zen>"]
license = "MIT"
Expand Down

0 comments on commit 3ff5f86

Please sign in to comment.