mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-16 17:00:32 +03: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
@ -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…
Reference in New Issue
Block a user