summaryrefslogtreecommitdiff
path: root/markdown/extensions/tables.py
Commit message (Collapse)AuthorAgeFilesLines
* Future imports go after the docstringsAdam Dinwoodie2013-03-181-1/+1
| | | | | | | | | A `from __future__ import ...` statement must go after any docstrings; since putting them before the docstring means the docstring loses its magic and just becomes a string literal. That then causes a syntax error if there are further future statements after the false docstring. This fixes issue #203, using the patch provided by @Arfrever.
* Now using universal code for Python 2 & 3.Waylan Limberg2013-02-271-5/+7
| | | | | | | | | | The most notable changes are the use of unicode_literals and absolute_imports. Actually, absolute_imports was the biggest deal as it gives us relative imports. For the first time extensions import markdown relative to themselves. This allows other packages to embed the markdown lib in a subdir of their project and still be able to use our extensions.
* Fixed issue #66. Silly error. Not sure why the shebang lines were ↵Waylan Limberg2011-12-281-1/+1
| | | | capitalized. Thanks for the report.
* Fixed #30. Tables now allow three spaces of indent like PHP Markdown Extra. ↵Waylan Limberg2011-06-291-6/+7
| | | | Thanks to skurfer for report and inital patch.
* Rename misc.py to util.py at the request of upstreamToshio Kuratomi2010-07-051-1/+1
|
* Break cyclic import of markdown. This allows people to embed markdownToshio Kuratomi2010-07-051-1/+1
| | | | if they desire.
* Replacement Tables extension. This one actually uses a known (PHP Extra) ↵Waylan Limberg2009-03-111-52/+80
| | | | syntax and is implemented as a blockprocessor. Currently, Markdown doesn't see table elements as block elements, so it doesn't get prettified.
* Fixed bug in tables extension (ticket 24). This extension could still use a ↵Waylan Limberg2009-03-091-2/+1
| | | | major refactor, but it at least works as documented.
* Updated tables extension for refactor.Waylan Limberg2008-11-201-3/+3
|
* Moved markdown_extensions/ to markdown/extensions. Markdown is now one ↵Waylan Limberg2008-11-201-0/+70
package instead of two.