Skip to content

Instantly share code, notes, and snippets.

@adriculous
Created April 13, 2016 06:14
Show Gist options
  • Save adriculous/152f3a0c1e076ac3be5b83b3ce074920 to your computer and use it in GitHub Desktop.
Save adriculous/152f3a0c1e076ac3be5b83b3ce074920 to your computer and use it in GitHub Desktop.
Markdown for Writers and Hobbyists (Part 4) - Tables Markdown
| Manga | Anime |
| ------------------------------------------------------- | ------------------------------------------------------------------------ |
| 12 volumes | 72 episodes & 2 movies |
| 19 cards captured | 52 cards captured |
| Sakura has no rival except Syaoran | Sakura has Meiling as another rival for Syaoran |
| The story ends with Sakura and Syaoran in middle school | The story ends with Sakura and Syaoran capturing the final card together |
/* What if we want our headers centered? It would look like this using colons */
| Manga | Anime |
|: ----------------------------------------------------- :|: ---------------------------------------------------------------------- :|
| 12 volumes | 72 episodes & 2 movies |
| 19 cards captured | 52 cards captured |
| Sakura has no rival except Syaoran | Sakura has Meiling as another rival for Syaoran |
| The story ends with Sakura and Syaoran in middle school | The story ends with Sakura and Syaoran capturing the final card together |
/* Right-aligned headers? Just get rid of the colons on the left of the hyphens, leaving the right colon in its place. */
| Manga | Anime |
| ------------------------------------------------------ :| ----------------------------------------------------------------------- :|
| 12 volumes | 72 episodes & 2 movies |
| 19 cards captured | 52 cards captured |
| Sakura has no rival except Syaoran | Sakura has Meiling as another rival for Syaoran |
| The story ends with Sakura and Syaoran in middle school | The story ends with Sakura and Syaoran capturing the final card together |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment