Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
Previous:
Now:
v0.11.35 - [2024-10-07]
v0.11.34 - [2024-09-22]
completions
subcommand. feature: add command-line completions Enter-tainer/typstyle#131 (comment)v0.11.33 - [2024-09-22]
v0.11.32 - [2024-08-19]
Previously, it will be formatted as:
Now it is fixed.
v0.11.31 - [2024-08-08]
v0.11.30 - [2024-07-14]
v0.11.29 - [2024-07-13]
cargo-binstall
Previously, typstyle's format result looks like this:
Now it will be formatted as:
v0.11.28 - [2024-06-25]
--check
flag to check if the input is formatted. If it's not formatted, it will return a non-zero exit code.v0.11.27 - [2024-06-20]
table
andgrid
when there is no positional argument and there are extra arguments. Now it doesn't add an extra newline.v0.11.26 - [2024-06-13]
Example
After formatting, it will become this. Notice the extra newlines are kept.
Example
After formatting, it will become this. Notice the relative position of each arg is kept.
v0.11.25 - [2024-06-09]
Previously, it will be formatted as:
Now it is kept as it is.
v0.11.24 - [2024-05-27]
table.header
andtable.footer
attributes. The header and footer will be put in a single line if possible.For what it cannot do, see [ FEATURE ] Format #table in a human readable way Enter-tainer/typstyle#59 (comment).
#table( columns: 3, table.header( [Substance], [Subcritical °C], [Supercritical °C], repeat: true, ), [Hydrochloric Acid], [12.0], [92.1], [Sodium Myreth Sulfate], [16.6], [104], [Potassium Hydroxide], [24.7], [114.514], )
After formatting, it will become:
#table( columns: 3, table.header( [Substance], [Subcritical °C], [Supercritical °C], repeat: true, ), [Hydrochloric Acid], [12.0], [92.1], [Sodium Myreth Sulfate], [16.6], [104], [Potassium Hydroxide], [24.7], [114.514], )
v0.11.23 - [2024-05-25]
For example, this code:
After formatting, it will become:
v0.11.22 - [2024-05-20]
For example, this code:
#table( columns: 3, [Substance], [Subcritical °C], [Supercritical °C], [Hydrochloric Acid], [12.0], [92.1], [Sodium Myreth Sulfate], [16.6], [104], [Potassium Hydroxide], [24.7], [114.514] )
After formatting, it will become:
#table( columns: 3, [Substance], [Subcritical °C], [Supercritical °C], [Hydrochloric Acid], [12.0], [92.1], [Sodium Myreth Sulfate], [16.6], [104], [Potassium Hydroxide], [24.7], [114.514], )
v0.11.21 - [2024-05-16]
Bump to typst v0.11.1
v0.11.20 - [2024-05-15]
Typstyle cli now include a
format-all
subcommand to format all files in a directory in-place.typstyle format-all dir # or omit the dir to format the current directory typstyle format-all
v0.11.19 - [2024-05-11]
For example, this code:
Now it will be formatted as:
v0.11.18 - [2024-05-09]
For example, this code:
Previously, the comment will be moved to the next line after formatting. Now it's attached to the end of the line.
v0.11.17 - [2024-05-03]
v0.11.16 - [2024-05-01]
v0.11.15 - [2024-04-22]
Previously for this code, the comment will be removed after formatting. Now it's kept.
v0.11.14 - [2024-04-19]
typst::Source
as input to avoid re-parsingv0.11.13 - [2024-04-12]
(#49) typstyle cli now support multiple input files. If multiple files are provided, they will be processed in order.
This is especially useful when you want to format multiple files inplace with a single command.
v0.11.12 - [2024-04-09]
Previously it takes infinite time to format this code:
Now it is done in instant.
v0.11.11 - [2024-04-05]
For example, this code:
After formatting, it will become:
v0.11.10 - [2024-04-02]
For example, this code:
After formatting, it will become:
v0.11.9 - [2024-04-01]
This is called flavor detection.
For example, this code:
After formatting, it will become:
v0.11.8 - [2024-03-31]
#
is missing in some math environmentsv0.11.7 - [2024-03-30]
v0.11.6 - [2024-03-29]
--version
outputv0.11.5 - [2024-03-28]
v0.11.4 - [2024-03-27]
clap
andwasm-bindgen
under feature flags to reduce binary size when use as a libraryv0.11.3 - [2024-03-26]
v0.11.2 - [2024-03-24]
v0.11.1 - [2024-03-21]
v0.11.0 - [2024-03-18]