From 403183718b1adbc244fe5e23c15b5dcc120888d6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 9 Jul 2025 00:12:34 +0300 Subject: feat: add AUTO label to code blocks in showcase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- internal/showcase/showcase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) } } -- cgit v1.2.3