Fully renamed and updated everything, tagged, built

This commit is contained in:
Angelos Chalaris
2017-12-17 17:55:51 +02:00
parent 8774cbb4c6
commit c8b9c4a563
108 changed files with 1317 additions and 914 deletions

View File

@ -55,7 +55,7 @@ try {
for(let tag of [...new Set(Object.entries(tagDbData).map(t => t[1]))].filter(v => v).sort((a,b) => a.localeCompare(b))){
output +=`### ${capitalize(tag, true)}\n`;
for(let taggedSnippet of Object.entries(tagDbData).filter(v => v[1] === tag))
output += `* [${taggedSnippet[0][0].toUpperCase() + taggedSnippet[0].replace(/-/g,' ').slice(1)}](#${taggedSnippet[0].replace(/\(/g,'').replace(/\)/g,'').toLowerCase()})\n`
output += `* [\`${taggedSnippet[0]}\`](#${taggedSnippet[0].toLowerCase()})\n`
output += '\n';
}
// Loop over tags and snippets to create the list of snippets