summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-08 22:40:42 +0300
committerPaul Buetow <paul@buetow.org>2025-07-08 22:40:42 +0300
commit35b38d55f9260e49fc8a910a78fd1cfdf4b6bcb5 (patch)
tree5ed629d81b4c78ee2bbe052d2603c2b422f610cb
parent9841776f24ae938771421bfdcb276dff0f2de738 (diff)
fix: change showcase formatting to use Projects section with ### headers
- Add "## Projects" section header - Change individual project headers from ## to ### - Better structure for the showcase document 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
-rw-r--r--internal/showcase/showcase.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/showcase/showcase.go b/internal/showcase/showcase.go
index c2ed7ae..e9ae55f 100644
--- a/internal/showcase/showcase.go
+++ b/internal/showcase/showcase.go
@@ -342,13 +342,16 @@ func (g *Generator) formatGemtext(summaries []ProjectSummary) string {
builder.WriteString(fmt.Sprintf("Generated on: %s\n\n", time.Now().Format("2006-01-02")))
+ // Add Projects section
+ builder.WriteString("## Projects\n\n")
+
// Add each project
for i, summary := range summaries {
if i > 0 {
builder.WriteString("\n---\n\n")
}
- builder.WriteString(fmt.Sprintf("## %s\n\n", summary.Name))
+ builder.WriteString(fmt.Sprintf("### %s\n\n", summary.Name))
// Add metadata if available
if summary.Metadata != nil {