Skip to content

docs: rewrap markdown - #8640

Merged
wraithgar merged 2 commits into
npm:latestfrom
jsoref:rewrap-markdown-workspaces-config-docs
Oct 5, 2025
Merged

docs: rewrap markdown#8640
wraithgar merged 2 commits into
npm:latestfrom
jsoref:rewrap-markdown-workspaces-config-docs

Conversation

@jsoref

Copy link
Copy Markdown
Contributor

This is a third pass at rewrapping things. The patterns I'm using aren't fully complete, but they're definitely an improvement over the current content.

It's a lot smarter than the first pass, but that required quite a bit more effort to define a fancy pattern.

References

Related to #8617 (comment)

```sh
perl -pi -e '
if (/\`\`\`/) {
$s = ! $s;
next;
};
next if $s;
next if /^#/;
s/([a-z)`]\.) +/$1\n/g;
'
```
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Visual Studio Code search and replace.
Search: (^(?!title|section| *```|/[*/]|\s*[{}])[^`#\n;][^\n]*[^-.:?!>\n\s{]) *$\n *(?!npm install|cd |\d+\.)([^-<$\s\n`+|#*;])
Replace: $1 $2
Flags: Case-sensitive, Regular expression
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
@jsoref
jsoref requested a review from a team as a code ownerOctober 5, 2025 01:46
@wraithgarwraithgar changed the title docs: rewrap markdown workspaces configdocs: rewrap markdownOct 5, 2025
@wraithgar
wraithgar merged commit 1fde042 into npm:latestOct 5, 2025
17 checks passed
@github-actionsgithub-actionsBot mentioned this pull request Oct 5, 2025
@jsoref
jsoref deleted the rewrap-markdown-workspaces-config-docs branch October 5, 2025 03:58
@github-actionsgithub-actionsBot mentioned this pull request May 27, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jsoref@wraithgar