From 334f61adb324c175789f5f53c24e11a4f3a51d4d Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 28 Dec 2017 11:51:35 +0200 Subject: [PATCH] Minor update to the build script --- scripts/build-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-script.js b/scripts/build-script.js index 966f8a178..c0aea77f1 100644 --- a/scripts/build-script.js +++ b/scripts/build-script.js @@ -79,7 +79,7 @@ try { for(let taggedSnippet of Object.entries(tagDbData).filter(v => v[1] === tag)){ let data = snippets[taggedSnippet[0]+'.md']; data = data.slice(0,data.lastIndexOf('```js')) + '
\nExamples\n\n' + data.slice(data.lastIndexOf('```js'),data.lastIndexOf('```')) + data.slice(data.lastIndexOf('```')) + '\n
\n'; - output += `\n${data+'\n[⬆ back to top](#table-of-contents)\n'}`; + output += `\n${data+'\n\n[⬆ Back to top](#table-of-contents)\n'}`; } } }