Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 2a7d351

Browse files
Output devsite tables with vertical lines.
1 parent 5169ec9 commit 2a7d351

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

claat/render/html.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,11 @@ func (hw *htmlWriter) itemsList(n *types.ItemsListNode) {
307307
}
308308

309309
func (hw *htmlWriter) grid(n *types.GridNode) {
310-
hw.writeString("<table>\n")
310+
if hw.format == "devsite" {
311+
hw.writeString(`<table class="vertical-rules">\n`)
312+
} else {
313+
hw.writeString("<table>\n")
314+
}
311315
for _, r := range n.Rows {
312316
hw.writeString("<tr>")
313317
for _, c := range r {

0 commit comments

Comments
 (0)