diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-09 00:12:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-09 00:12:34 +0300 |
| commit | 403183718b1adbc244fe5e23c15b5dcc120888d6 (patch) | |
| tree | 7408c5cece4fcf48e2e959b2d7eca8961ff33584 | |
| parent | 39c54d9dbeb907f02e0bc35a8516bd697e0e43d7 (diff) | |
feat: add AUTO label to code blocks in showcase
- Code blocks now use ```AUTO instead of plain ```
- Enables automatic syntax highlighting detection
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
| -rw-r--r-- | internal/showcase/showcase.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/showcase/showcase.go b/internal/showcase/showcase.go index 23a6a47..d3c6b2c 100644 --- a/internal/showcase/showcase.go +++ b/internal/showcase/showcase.go @@ -509,7 +509,7 @@ func (g *Generator) formatGemtext(summaries []ProjectSummary) string { // Add code snippet at the end for all projects if summary.CodeSnippet != "" { - builder.WriteString(fmt.Sprintf("\n%s:\n\n```\n%s\n```\n", summary.CodeLanguage, summary.CodeSnippet)) + builder.WriteString(fmt.Sprintf("\n%s:\n\n```AUTO\n%s\n```\n", summary.CodeLanguage, summary.CodeSnippet)) } } |
