Markdown Toolbox Logo Markdown Toolbox

Home
Blog

Affiliate Links

TypeForm

Forms For Every Occasion — Personalized flows and seamless integrations with world-class user experience. Easily create stylish forms that make data collection a walk in the park. Customized Surveys. Engaging Questionnaires.

Can I align text within table cells in markdown?

Monday, December 25, 2023

To align text within table cells in Markdown, use colons : in the header row of the table. A colon on the left aligns text to the left, on the right for right alignment, and on both sides for center alignment.

| Left Aligned | Center Aligned | Right Aligned |
| :----------- | :------------: | ------------: |
| Left         |     Center     |         Right |
Left AlignedCenter AlignedRight Aligned
LeftCenterRight