fix: using code blocks within release-notes

Increase the number of code blocks backticks to 4 for the release note prefix and suffix, to allow users to embed their own code blocks using only 3 backticks.
This commit is contained in:
jo 2025-09-25 10:07:41 +02:00
parent 93bb42e781
commit 7f25b3bf92
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
13 changed files with 229 additions and 103 deletions

13
internal/testdata/prefix.txt vendored Normal file
View file

@ -0,0 +1,13 @@
## Foo
- Cool thing
```go
// Some code example
func IsPositive(number int) error {
if number < 0 {
return fmt.Errorf("number %d is negative", number)
}
return nil
}
```