Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Podia.

Tables – Markdown

Summary

Markdown:

First Header | Second Header
------------ | -------------
cell 1 | cell 2
cell 3 | cell 4

Demo

Click here to see an example of what this code looks like when rendered on GitHub. (Click the Raw button to see the actual Markdown code.)

Details

To create a table in Markdown, use pipe characters and dashes.

The first row must be followed by a row of dashes. Separate each cell using pipe characters.

Exercises

First, recreate the code snippet from the Summary section in your Markdown file. Then try customizing the text.

References

Mastering Markdown on GitHub

Lesson tags: Free Lesson
Back to: Markdown Reference > GitHub Markdown