diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-20 13:43:13 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-20 13:43:13 +0300 |
| commit | 3be345095feaf8877fb81ac49687c8be47bbca3b (patch) | |
| tree | 3e985172f6a74c4cb6e2d18c268746af16fb90d2 | |
| parent | 93f723b94b790351477e26c85b026bee147989a7 (diff) | |
feat: remove code snippets from showcase output
Removed code snippet generation from the showcase.gmi.tpl template to simplify the output and focus on project descriptions.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
| -rw-r--r-- | internal/showcase/showcase.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/showcase/showcase.go b/internal/showcase/showcase.go index 815614c..f1c8624 100644 --- a/internal/showcase/showcase.go +++ b/internal/showcase/showcase.go @@ -570,10 +570,6 @@ func (g *Generator) formatGemtext(summaries []ProjectSummary) string { builder.WriteString(fmt.Sprintf("=> %s View on GitHub\n", summary.GitHubURL)) } - // Add code snippet at the end for all projects - if summary.CodeSnippet != "" { - builder.WriteString(fmt.Sprintf("\n%s:\n\n```AUTO\n%s\n```\n", summary.CodeLanguage, summary.CodeSnippet)) - } } return builder.String() |
