TIL how to create tables in markdown
POSTED ON:
TAGS: markdown
To make a table, you follow this pattern:
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
Key points:
- You don't actually need to space everything out perfectly.
- It just has to be
---dashes. More is fine.
But what if you want alignment?
: is the trick!
:--- left align
:---: center
---: right align
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
https://www.markdownguide.org/extended-syntax/
Related TILs
Tagged: markdown