Dette er en ældre version. Den nyeste version er 0.15.3. typstyle 0.15.3 · Udgivet:
Installationsfiler 0.12.15
| Arkitektur | Type | Omfang | Filstørrelse | Download | SHA256 |
|---|---|---|---|---|---|
| 64-bit | Portabel | — | — | github.com | VirusTotal |
| ARM64 | Portabel | — | — | github.com | VirusTotal |
Link og SHA256 stammer fra fællesskabets manifest i Windows Package Manager. Sammenlign hashen for den downloadede fil, før du kører den.
Udgivelsesnoter
- Feat: add --tab-width cli option to set the number of spaces for indentation. The default value is 2.
- Fix: typstyle-cli now outputs the original source when the input syntax is erroneous.
- Fix: issues with list/enum/term item indent and linebreak with comments are fixed. Now linebreaks in items are preserved. Items in content blocks will be surrounded with linebreaks when necessary (also to avoid ambiguity).
For example, the code
+
+ xyz
-
xyz
- //foo
- xyz
//bar
/ 4:
// 4
/ 44: // 44
444
was incorrectly formatted to
+ + xyz
- xyz
- //foo
- xyz
//bar
/ 4: // 4
/ 44: // 44
444
Now it is correctly unchanged.
And
#{
[- single]
[- indented
- less
]
[- indented
- same
- then less
- then same
]
[- indented
- more
- then same
- then less
]
}
will be correctly formatted to
#{
[- single]
[
- indented
- less
]
[
- indented
- same
- then less
- then same
]
[
- indented
- more
- then same
- then less
]
}https://github.com/Enter-tainer/typstyle/releases/tag/v0.12.15