Skip to content

Commit 19e32ab

Browse files
committed
touch-up documentation
1 parent a518f8f commit 19e32ab

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## Unreleased
1010

11+
## [v0.6.3](https://github.com/stackus/goht/compare/v0.6.0...v0.6.3) - 2025-04-27
12+
13+
### Added
14+
15+
- Added support to split long code lines across multiple lines using `\` or `,`. to both Haml and Slim parsers.
16+
- Works for all code tags (`- code`, `= code`, `=@render code`)
17+
18+
### Fixed
19+
20+
- Numerous Slim parsing bugs
21+
- Fixes some issues with the parsing of attributes with Haml and its whitespace handling
22+
23+
## [v0.6.0](https://github.com/stackus/goht/compare/v0.5.0...v0.6.0) - 2025-04-26
24+
25+
### Added
26+
27+
- Added support for [Slim](https://slim-lang.com) templates.
28+
1129
## [v0.5.0](https://github.com/stackus/goht/compare/v0.4.5...v0.5.0) - 2024-06-26
1230

1331
### Changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ You would write this with Go (Go needs the `!= nil` check):
434434
```
435435
There is minimal processing performed on the Go code you put into the templates, so it needs to be valid Go code sans braces.
436436

437-
Long statements can be split over by ending a line with either a backslash `\` or a comma `,`.
437+
Long statements can be split across multiple lines by ending each line with either a backslash `\` or a comma `,`.
438+
The backslashes will be **stripped**, but the commas will be **kept**.
438439

439440
```haml
440441
- if user != nil && user.Name != ""\

0 commit comments

Comments
 (0)