• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

charmbracelet / glamour
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: headless-tables
DEFAULT BRANCH: master
Repo Added 21 Dec 2019 03:03AM UTC
Files 24
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH headless-tables
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 312
  • add-contributing
  • app
  • auto-notty
  • bluemonday-bump
  • build
  • bump-bluemonday
  • bump-deps
  • charm-1225-whats-new-and-upgrade-guide
  • chroma
  • chroma-bump
  • ci-lint
  • ci/fix-lint
  • ci/go-1-22
  • ci/sync-dependabot-config
  • closed-writers
  • collectors-edition
  • colorprofile
  • consts
  • dependabot
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-3
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/all-167a898cab
  • dependabot/github_actions/all-76468cb07f
  • dependabot/github_actions/golangci/golangci-lint-action-4
  • dependabot/github_actions/golangci/golangci-lint-action-5
  • dependabot/github_actions/golangci/golangci-lint-action-6
  • dependabot/go_modules/all-7c1956fefe
  • dependabot/go_modules/all-e74fac59ff
  • dependabot/go_modules/all-eac796ded4
  • dependabot/go_modules/examples/golang.org/x/net-0.38.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.19.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.20.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.6.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.7.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.8.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.9.1
  • dependabot/go_modules/github.com/charmbracelet/lipgloss-0.13.0
  • dependabot/go_modules/github.com/charmbracelet/lipgloss-0.13.1
  • dependabot/go_modules/github.com/charmbracelet/lipgloss-1.0.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.10.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.2.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.2.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.2.3
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.3.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.3.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.3.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.3
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.5
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.5.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.5.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.6.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.7.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.8.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.9.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.9.3
  • dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.21
  • dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.22
  • dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.23
  • dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.24
  • dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.25
  • dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.27
  • dependabot/go_modules/github.com/muesli/termenv-0.14.0
  • dependabot/go_modules/github.com/muesli/termenv-0.15.0
  • dependabot/go_modules/github.com/muesli/termenv-0.15.1
  • dependabot/go_modules/github.com/muesli/termenv-0.15.2
  • dependabot/go_modules/github.com/muesli/termenv-0.16.0
  • dependabot/go_modules/github.com/yuin/goldmark-1.5.2
  • dependabot/go_modules/github.com/yuin/goldmark-1.5.3
  • dependabot/go_modules/github.com/yuin/goldmark-1.5.4
  • dependabot/go_modules/github.com/yuin/goldmark-1.5.5
  • dependabot/go_modules/github.com/yuin/goldmark-1.5.6
  • dependabot/go_modules/github.com/yuin/goldmark-1.6.0
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.0
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.1
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.10
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.11
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.12
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.13
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.6
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.7
  • dependabot/go_modules/github.com/yuin/goldmark-1.7.8
  • dependabot/go_modules/github.com/yuin/goldmark-emoji-1.0.2
  • dependabot/go_modules/github.com/yuin/goldmark-emoji-1.0.5
  • dependabot/go_modules/github.com/yuin/goldmark-emoji-1.0.6
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/golang.org/x/net-0.33.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • dependabot/go_modules/golang.org/x/net-0.7.0
  • dependabot/go_modules/golang.org/x/term-0.23.0
  • dependabot/go_modules/golang.org/x/term-0.24.0
  • dependabot/go_modules/golang.org/x/term-0.25.0
  • dependabot/go_modules/golang.org/x/term-0.26.0
  • dependabot/go_modules/golang.org/x/term-0.27.0
  • dependabot/go_modules/golang.org/x/term-0.28.0
  • dependabot/go_modules/golang.org/x/term-0.29.0
  • dependabot/go_modules/golang.org/x/term-0.31.0
  • dependabot/go_modules/golang.org/x/term-0.32.0
  • dependabot/go_modules/golang.org/x/term-0.33.0
  • dependabot/go_modules/golang.org/x/term-0.34.0
  • dependabot/go_modules/golang.org/x/text-0.22.0
  • dependabot/go_modules/golang.org/x/text-0.24.0
  • dependabot/go_modules/golang.org/x/text-0.25.0
  • dependabot/go_modules/golang.org/x/text-0.26.0
  • dependabot/go_modules/golang.org/x/text-0.27.0
  • dependabot/go_modules/golang.org/x/text-0.28.0
  • deps
  • docs/updating-golden-files
  • dracula
  • dracula-update
  • feat/hide-link-url-500
  • fix-autolink-347
  • fix-conceal-elements
  • fix-empty-line-comments
  • fix-register-style
  • fix-small-typo
  • fix/writer-chain-close-order
  • fmap
  • gallery-script
  • github-actions
  • github-links-413
  • github-termenv
  • github-workflows
  • glamour-423
  • golangci-lint
  • goldmark-bump
  • goreleaser
  • headless-tables
  • imports
  • lint
  • lint-fix
  • list-indentation
  • main
  • master
  • patch2
  • pink
  • readme
  • readme-footer
  • refs/tags/v0.1
  • refs/tags/v0.1.0
  • refs/tags/v0.10.0
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v1.0.0
  • refs/tags/v2.0.0
  • refs/tags/v2.0.1
  • small-fixes
  • stdin-stdout
  • styles
  • table-alignments-github-flavour
  • table-ascii
  • table-header-nits-416
  • table-links-401
  • table-resize
  • table-wrap-setting
  • termenv-next
  • test
  • tokyo
  • unparam
  • update-codeowners
  • use-document-margins
  • v2-exp
  • v2-hyperlink
  • v2-land
  • v2-no-auto
  • v2-readme
  • v2-remove-reflow
  • v2-update
  • vuln

14 Jul 2026 10:17PM UTC coverage: 84.219% (+0.02%) from 84.202%
29372597322

Pull #590

github

skatkov
tables: remove headers if they are empty
Pull Request #590: fix(tables): remove headers if they are empty

3 of 3 new or added lines in 1 file covered. (100.0%)

1537 of 1825 relevant lines covered (84.22%)

2362.54 hits per line

Relevant lines Covered
Build:
Build:
1825 RELEVANT LINES 1537 COVERED LINES
2362.54 HITS PER LINE
Source Files on master
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29372597322 headless-tables tables: remove headers if they are empty Pull #590 15 Jul 2026 08:33PM UTC skatkov github
84.22
27420213691 refs/tags/v2.0.1 chore: bump lipgloss to v2.0.4 push 12 Jun 2026 01:56PM UTC taciturnaxolotl github
84.2
27420015476 main chore: bump lipgloss to v2.0.4 push 12 Jun 2026 01:52PM UTC taciturnaxolotl github
84.2
27419587044 main chore: fix pre-existing lint failures Remove unused //nolint:gosec directives that gosec no longer triggers on (except listitem.go where G115 still applies, restored with correct directive format). Extract repeated style strings into shared const... push 12 Jun 2026 01:45PM UTC taciturnaxolotl github
84.2
27419443804 fix/writer-chain-close-order chore: fix pre-existing lint failures Remove unused //nolint:gosec directives that gosec no longer triggers on (except listitem.go where G115 still applies, restored with correct directive format). Extract repeated style strings into shared const... Pull #575 12 Jun 2026 01:42PM UTC taciturnaxolotl github
84.2
27395545792 fix/writer-chain-close-order chore: fix pre-existing lint failures Remove unused //nolint:gosec directives that gosec no longer triggers on (except listitem.go where G115 still applies, restored with correct directive format). Extract repeated style strings into shared const... Pull #575 12 Jun 2026 04:59AM UTC taciturnaxolotl github
84.2
27395473545 fix/writer-chain-close-order chore: fix remaining lint failures Restore needed //nolint:gosec on listitem.go (G115 uint->int64) with correct directive format, and extract horizontal rule and arrow block prefix strings into shared constants. Pull #575 12 Jun 2026 04:57AM UTC taciturnaxolotl github
84.2
27395377502 fix/writer-chain-close-order chore: fix pre-existing lint failures Remove unused //nolint:gosec directives that gosec no longer triggers on, and extract repeated style strings into shared constants to satisfy goconst. Pull #575 12 Jun 2026 04:54AM UTC taciturnaxolotl github
84.2
27395207736 fix/writer-chain-close-order fix: close wrap writer before its downstream chain When rendering markdown that leaves a text style open across an indent or margin boundary, finishing a block flushes a trailing style reset. The indent writer was tearing down the downstream writ... Pull #575 12 Jun 2026 04:49AM UTC taciturnaxolotl github
84.2
27394945753 fix/writer-chain-close-order fix: close wrap writer before its downstream chain When rendering markdown that leaves a text style open across an indent or margin boundary, finishing a block flushes a trailing style reset. The indent writer was tearing down the downstream writ... Pull #575 12 Jun 2026 04:42AM UTC taciturnaxolotl github
84.2
See All Builds (753)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc