From a6fd7b5cba69cad049046b3a372d0f2d6c495abe Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 23 Aug 2011 10:53:49 -0400 Subject: Renamed *.txt -> *.md in docs. --- docs/extensions/tables.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/extensions/tables.md (limited to 'docs/extensions/tables.md') diff --git a/docs/extensions/tables.md b/docs/extensions/tables.md new file mode 100644 index 0000000..63d6849 --- /dev/null +++ b/docs/extensions/tables.md @@ -0,0 +1,53 @@ +Tables +---------------- + +Summary +------- + +The Table Extension adds the ability to create tables in Markdown documents. + +This extension is included in the standard Markdown library. + +Syntax +------ + +Tables are defined using the syntax established in [PHP Markdown Extra][php]. + +[php]: http://www.michelf.com/projects/php-markdown/extra/#table + +Thus, the following text (taken from the above referenced PHP documentation): + +First Header | Second Header +------------- | ------------- +Content Cell | Content Cell +Content Cell | Content Cell + +will be rendered as: + + + + + + + + + + + + + + + + + + + +
First HeaderSecond Header
Content CellContent Cell
Content CellContent Cell
+ +Usage +----- + +From the Python interpreter: + + >>> html = markdown.markdown(text, ['tables']) + -- cgit v1.2.3