update web.js
This commit is contained in:
@ -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">📋 Copy to clipboard</button>' +
|
||||
'</div></div>';
|
||||
|
||||
beginnerOutput += `${endBeginnerPart}`;
|
||||
|
||||
// Generate
|
||||
fs.writeFileSync(path.join(docsPath, 'beginner.html'), beginnerOutput);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user