mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 13:21:00 +00:00
fix: using code blocks within release-notes (#275)
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:
parent
93bb42e781
commit
612928a382
13 changed files with 229 additions and 103 deletions
|
|
@ -43,17 +43,17 @@ The release pull request description has text fields where maintainers can add t
|
|||
|
||||
When you edit the description, make sure to put your desired content into the code blocks named `rp-prefix` and `rp-suffix`. Only the content of these blocks is considered.
|
||||
|
||||
> ```rp-prefix
|
||||
> ~~~~rp-prefix
|
||||
> ### Prefix
|
||||
>
|
||||
> This will be shown as the Prefix.
|
||||
> ```
|
||||
> ~~~~
|
||||
>
|
||||
> ```rp-suffix
|
||||
> ~~~~rp-suffix
|
||||
> ### Suffix
|
||||
>
|
||||
> This will be shown as the Suffix.
|
||||
> ```
|
||||
> ~~~~
|
||||
|
||||
To match the style of the auto-generated release notes, you should start any headings at level 3 (`### Title`).
|
||||
|
||||
|
|
|
|||
|
|
@ -30,17 +30,17 @@ Any text in code blocks with these languages is being added to the start or end
|
|||
|
||||
**Examples**:
|
||||
|
||||
```rp-prefix
|
||||
~~~~rp-prefix
|
||||
#### Awesome new feature!
|
||||
|
||||
This text is at the start of the release notes.
|
||||
```
|
||||
~~~~
|
||||
|
||||
```rp-suffix
|
||||
~~~~rp-suffix
|
||||
#### Version Compatibility
|
||||
|
||||
And this at the end.
|
||||
```
|
||||
~~~~
|
||||
|
||||
### Status
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue