question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow table title to not be capitalized

See original GitHub issue

Is your feature request related to a problem? Please describe.

I’m converting an app from System.Console to Spectre.Console and in migrating a custom table output to use Spectre’s Table resulted in a failing unit test because the table title (which in my case is a filename) no longer matches the actual filename, since the first character of table titles are capitalized in TableRenderer.

Describe the solution you’d like

Even if capitalizing the first letter is the default, I’d love an option to override it for when it’s not desired

Describe alternatives you’ve considered

My current workaround is just to pad the string with a space so that the first character isn’t uppercased, but that’s not ideal.

Additional context

Thanks for building such a wide-ranging and configurable library!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
patriksvenssoncommented, Nov 24, 2021

@SteveDesmond-ca That makes perfect sense to me. When I think about it, I don’t think we should capitalize the first letter at all.

1reaction
patriksvenssoncommented, Nov 29, 2021

@zmrfzn That would be awesome. Much appreciated!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Effective Tables, Figures & Frequently Used Terms
Write out a full term in the title if its abbreviation is not very common. • The lowercase abbreviation vs. may be used...
Read more >
What to capitalize in table headings?
I'm writting a table for a scientific paper and I'm not sure what to capitalize in the column-headings. Which rule should be used?...
Read more >
Title case capitalization - APA Style
In title case, major words are capitalized, and most minor words are lowercase. ... “Self-Report,” not “Self-report”); words of four letters or more...
Read more >
How to Write Table Titles
Learn how to write table titles including capitalization, punctuation, and alignment. Guidelines provided for Chicago style, APA style, and MLA style.
Read more >
List of Words NOT Capitalized in Titles: 30+ to Not Get Wrong
In titles, the general rule is you should capitalize the first word and the last word, as well as all nouns, verbs, pronouns,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found