fix: setup proper category

This commit is contained in:
mikerambil
2025-07-08 20:00:17 -05:00
parent cd0d08c8a1
commit d1a0ca12b1
25 changed files with 4 additions and 1366 deletions

View File

@@ -175,7 +175,10 @@ function renderLastUpdated(date) {
function renderCategory(category) {
if (!category) return '';
return renderSection('Category', category);
const badge = `![Category: ${category}](https://img.shields.io/badge/Category-${encodeURIComponent(
category
)}-blue)`;
return `\n${badge}\n`;
}
function renderCommandExamples(examples) {