mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
fix the indentation of the comments in the release note template... (#663)
was writing https://github.com/nushell/nushell.github.io/pull/1114 and noticed a very nice bug... yeah HTML comments in `.md` documents can't be indented otherwise `npm install` + `npm run dev` can't render the page 👀
This commit is contained in:
parent
63fa27f702
commit
4d165fa510
1 changed files with 14 additions and 14 deletions
|
@ -34,21 +34,21 @@ As part of this release, we also publish a set of optional plugins you can insta
|
|||
- [*Changes to existing commands*](#changes-to-existing-commands)
|
||||
- [*Deprecated commands*](#deprecated-commands)
|
||||
- [*Removed commands*](#removed-commands)
|
||||
<!-- TODO: please add links to the other sections here
|
||||
<!-- TODO: please add links to the other sections here
|
||||
|
||||
the following command should help pre-generate a great deal of the table of content.
|
||||
be careful with the format and false-positives :wink:
|
||||
```nushell
|
||||
rg '^#+ ' blog/...
|
||||
| lines
|
||||
| each {
|
||||
str replace '# ' '- '
|
||||
| str replace --all '#' ' '
|
||||
| str replace --regex '- (.*)' '- [*$1*](#$1-toc)'
|
||||
}
|
||||
| to text
|
||||
```
|
||||
-->
|
||||
the following command should help pre-generate a great deal of the table of content.
|
||||
be careful with the format and false-positives :wink:
|
||||
```nushell
|
||||
rg '^#+ ' blog/...
|
||||
| lines
|
||||
| each {
|
||||
str replace '# ' '- '
|
||||
| str replace --all '#' ' '
|
||||
| str replace --regex '- (.*)' '- [*$1*](#$1-toc)'
|
||||
}
|
||||
| to text
|
||||
```
|
||||
-->
|
||||
- [*Breaking changes*](#breaking-changes)
|
||||
- [*Full changelog*](#full-changelog)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue