CLI that turns LLM input into well-formatted Conventional Commits
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(body): preserve indented lines as preformatted

Lines starting with 4+ spaces or a tab are now preserved verbatim,
fixing code block formatting in commit bodies.

Before:

task.Method1()
task.Method2()

Would become "task.Method1() task.Method2()" after reflowing.

Assisted-by: Claude Opus 4.5 via Crush

Amolith (Dec 22, 2025, 3:01 PM -0700) 80140d9b 45aedc2c

+6
+6
wrapBody.go
··· 26 26 } 27 27 28 28 for _, line := range lines { 29 + // Preserve indented lines (4+ spaces or tab) as preformatted code 30 + if strings.HasPrefix(line, " ") || strings.HasPrefix(line, "\t") { 31 + result = append(result, line) 32 + continue 33 + } 34 + 29 35 trimmed := strings.TrimSpace(line) 30 36 if trimmed == "" { 31 37 flushPlainText()