aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions/tables.md
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-03-07 09:08:36 -0500
committerWaylan Limberg <waylan@gmail.com>2012-03-07 09:08:36 -0500
commit9fd4a5f1600c96406ad0fb86b1a8287d525972ac (patch)
treeea8907182d758d051fce4bb54f445a113ceea92b /docs/extensions/tables.md
parent9c2830f7b0273ae399b771a7d9780ee7a7430fc4 (diff)
downloadmarkdown-9fd4a5f1600c96406ad0fb86b1a8287d525972ac.tar.gz
markdown-9fd4a5f1600c96406ad0fb86b1a8287d525972ac.tar.bz2
markdown-9fd4a5f1600c96406ad0fb86b1a8287d525972ac.zip
Fixed up some formating errors in docs and added/fixed more internal links.
Diffstat (limited to 'docs/extensions/tables.md')
-rw-r--r--docs/extensions/tables.md47
1 files changed, 23 insertions, 24 deletions
diff --git a/docs/extensions/tables.md b/docs/extensions/tables.md
index e37a752..bb0872a 100644
--- a/docs/extensions/tables.md
+++ b/docs/extensions/tables.md
@@ -5,7 +5,7 @@ next_title: Smart Strong Extension
next_url: smart_strong.html
Tables
-----------------
+======
Summary
-------
@@ -23,32 +23,31 @@ Tables are defined using the syntax established in [PHP Markdown Extra][php].
Thus, the following text (taken from the above referenced PHP documentation):
-First Header | Second Header
-------------- | -------------
-Content Cell | Content Cell
-Content Cell | Content Cell
+ First Header | Second Header
+ ------------- | -------------
+ Content Cell | Content Cell
+ Content Cell | Content Cell
will be rendered as:
-<table>
-<thead>
-<tr>
-<th>First Header</th>
-<th>Second Header</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>Content Cell</td>
-<td>Content Cell</td>
-
-</tr>
-<tr>
-<td>Content Cell</td>
-<td>Content Cell</td>
-</tr>
-</tbody>
-</table>
+ <table>
+ <thead>
+ <tr>
+ <th>First Header</th>
+ <th>Second Header</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Content Cell</td>
+ <td>Content Cell</td>
+ </tr>
+ <tr>
+ <td>Content Cell</td>
+ <td>Content Cell</td>
+ </tr>
+ </tbody>
+ </table>
Usage
-----