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

gajus / table
74%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/babel/traverse-7.26.3
DEFAULT BRANCH: master
Repo Added 04 Sep 2018 06:48AM UTC
Files 32
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 v5.2.0
branch: v5.2.0
CHANGE BRANCH
x
Reset
  • v5.2.0
  • correct-cell-width
  • dependabot/npm_and_yarn/babel/traverse-7.26.3
  • dependabot/npm_and_yarn/braces-3.0.3
  • dependabot/npm_and_yarn/http-cache-semantics-4.1.1
  • dependabot/npm_and_yarn/json5-2.2.3
  • dependabot/npm_and_yarn/minimist-1.2.6
  • dependabot/npm_and_yarn/moment-2.29.2
  • dependabot/npm_and_yarn/multi-147bfdcdfd
  • dependabot/npm_and_yarn/node-fetch-2.6.7
  • dependabot/npm_and_yarn/qs-6.5.3
  • dependabot/npm_and_yarn/semantic-release-19.0.3
  • dependabot/npm_and_yarn/semver-regex-3.1.4
  • master
  • revert-120-remove-lodash
  • v5.0.0
  • v5.0.1
  • v5.0.2
  • v5.1.0
  • v5.1.1
  • v5.2.1
  • v5.2.2
  • v5.2.3
  • v5.3.0
  • v5.3.1
  • v5.3.2
  • v5.3.3
  • v5.4.0
  • v5.4.1
  • v5.4.2
  • v5.4.3
  • v5.4.4
  • v5.4.5
  • v5.4.6
  • v6.0.0
  • v6.0.1
  • v6.0.2
  • v6.0.3
  • v6.0.4
  • v6.0.5
  • v6.0.6
  • v6.0.7
  • v6.0.8
  • v6.0.9
  • v6.1.0
  • v6.2.0
  • v6.3.0
  • v6.3.1
  • v6.3.2
  • v6.3.3
  • v6.3.4
  • v6.4.0
  • v6.5.0
  • v6.5.1
  • v6.6.0
  • v6.7.0
  • v6.7.1
  • v6.7.2
  • v6.7.3

pending completion
143

push

travis-ci

gajus
feat: add support for wrapping with newlines (#88)

* Add support for wrapping with newlines

It can be useful to more accurately control formatting in table cells by
means of inserting newlines. For example, we can now put bulleted lists
or pretty-printed JSON objects in table cells.

This change makes it so that any '\n' characters encountered in the
cell's values will be translated into line breaks.

Implementation note: the cell wrapping logic that used to be duplicated
between `mapDataUsingRowHeightIndex` and `calculateCellHeight` has been
moved to `wrapCell` to be shared between them.

* Add test with color coding

* More readable way to write ANSI test

65 of 87 branches covered (74.71%)

Branch coverage included in aggregate %.

166 of 227 relevant lines covered (73.13%)

16.6 hits per line

Relevant lines Covered
Build:
Build:
227 RELEVANT LINES 166 COVERED LINES
16.6 HITS PER LINE
Source Files on v5.2.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
143 v5.2.0 feat: add support for wrapping with newlines (#88) * Add support for wrapping with newlines It can be useful to more accurately control formatting in table cells by means of inserting newlines. For example, we can now put bulleted lists or p... push 11 Jan 2019 05:28PM UTC gajus travis-ci pending completion  
See All Builds (378)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc