We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac3739f commit 8708d2fCopy full SHA for 8708d2f
1 file changed
scripts/docs-build.js
@@ -15,7 +15,7 @@ fs.readFile(src, 'utf8', function (err, data) {
15
}
16
17
var result = data.replace(/@VERSION@/g, npm.version)
18
- .replace(/---([\s\S]+)---/g, '')
+ .replace(/^---([\s\S]+?)---/g, '')
19
.replace(/\[([^\]]+)\]\(\/cli-commands\/([^)]+)\)/g, replacer)
20
.replace(/\[([^\]]+)\]\(\/configuring-npm\/([^)]+)\)/g, replacer)
21
.replace(/\[([^\]]+)\]\(\/using-npm\/([^)]+)\)/g, replacer)
0 commit comments