Add Markdown Formatting

Nucleic-Session: 23936B4B-52E9-43F5-908B-C7919A5BD6DD
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-06-27 20:19:05 -07:00
co-authored by Nucleic
parent 57a8cc698e
commit 05883d6a91
@@ -69,7 +69,9 @@ struct HostExecToolCard: View {
Text("$").font(.caption.monospaced()).foregroundStyle(Palette.accent.opacity(0.7))
Text(command)
.font(.caption.monospaced()).foregroundStyle(.secondary)
.lineLimit(expanded ? nil : 1).truncationMode(.middle)
// Expanded, the literal stays bounded — a long chain's command is itself
// long, and the compact step list above carries the structure.
.lineLimit(expanded ? 6 : 1).truncationMode(.middle)
.textSelection(.enabled)
}
}