summaryrefslogtreecommitdiff
path: root/internal/showcase/showcase.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-08 23:34:43 +0300
committerPaul Buetow <paul@buetow.org>2025-07-08 23:34:43 +0300
commit30de46549dd219916aadc12ec02efdb1f2d127aa (patch)
treeadb57ec3a25e6e7441df910afe531454d438d597 /internal/showcase/showcase.go
parentdf623bfdcecad9fd4c0f5229ce9af5e8416a9558 (diff)
feat: add AWK language support for syntax highlighting
- Add AWK to language detection (.awk files) - Add AWK to code extractor language extensions - Add AWK to syntax highlighting mapping - Note: cpuinfo project is detected as Make-only because the main script has no file extension (it's a shell script with embedded AWK) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/showcase/showcase.go')
-rw-r--r--internal/showcase/showcase.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/showcase/showcase.go b/internal/showcase/showcase.go
index 884f81a..bfd7bc8 100644
--- a/internal/showcase/showcase.go
+++ b/internal/showcase/showcase.go
@@ -760,6 +760,7 @@ func extractLanguageForHighlighting(codeLanguage string) string {
"toml": "toml",
"hcl": "hcl",
"vim": "vim",
+ "awk": "awk",
}
if mapped, ok := languageMap[lang]; ok {