update web.js

This commit is contained in:
Stefan Feješ
2018-04-07 12:04:42 +02:00
parent 9e583c2720
commit 53f8f5676f
2 changed files with 9 additions and 1 deletions

View File

@ -170,8 +170,16 @@ try {
try {
// Add the static part
beginnerOutput += `${startBeginnerPart + '\n'}`;
beginnerOutput +=
'<div class="card fluid">' +
// begginer snippet goes here.
'<button class="primary clipboard-copy">&#128203;&nbsp;Copy to clipboard</button>' +
'</div></div>';
beginnerOutput += `${endBeginnerPart}`;
// Generate
fs.writeFileSync(path.join(docsPath, 'beginner.html'), beginnerOutput);