Nitin
Nitin

Reputation: 7667

Format tables in Google Colaboratory

The markdown syntax for creating tables does not draw any borders to table cells. How to achieve these stylings in a text cell:

Upvotes: 7

Views: 25181

Answers (1)

Bob Smith
Bob Smith

Reputation: 38579

Styling markdown tables isn't currently supported.

Your best bet right now is to render your table as an output where you can control the rendering precisely.

Here's an example with borders and alternating colors: https://colab.research.google.com/notebook#fileId=1oXkzlM0lPbDC8saNRUnkGOjpKCTiDHvM

Upvotes: 5

Related Questions