summaryrefslogtreecommitdiff
path: root/internal/showcase/code_extractor.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-08 23:39:53 +0300
committerPaul Buetow <paul@buetow.org>2025-07-08 23:39:53 +0300
commit236792e1f97087df341ba5c3e95ffc244681b482 (patch)
tree03f4109f6f6cbba0d353daa77ac6b907dfdb7c7b /internal/showcase/code_extractor.go
parentc20ee77648b5e937f673f098ca438a945934a826 (diff)
feat: add Raku language support and move generation date to top
- Add Raku (Perl 6) language detection for .raku, .rakumod, .p6, .pm6 files - Add Raku to code extractor and syntax highlighting (uses perl highlighting) - Move 'Generated on' date to the top of the page below main header - guprecords now correctly shows as 100% Raku - ior now shows Raku at 5.4% of the codebase 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/showcase/code_extractor.go')
-rw-r--r--internal/showcase/code_extractor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/showcase/code_extractor.go b/internal/showcase/code_extractor.go
index 98e1aca..4a4a429 100644
--- a/internal/showcase/code_extractor.go
+++ b/internal/showcase/code_extractor.go
@@ -41,6 +41,7 @@ func extractCodeSnippet(repoPath string, languages []LanguageStats) (string, str
"Rust": {".rs"},
"Shell": {".sh", ".bash"},
"Perl": {".pl", ".pm"},
+ "Raku": {".raku", ".rakumod", ".p6", ".pm6"},
"Haskell": {".hs"},
"Lua": {".lua"},
"HTML": {".html", ".htm"},