summaryrefslogtreecommitdiff
path: root/markdown/extensions/def_list.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.
* Fix some pyflakes-undefined-name warningsDmitry Shachnev2013-03-151-1/+1
|
* Now using universal code for Python 2 & 3.Waylan Limberg2013-02-271-6/+8
| | | | | | | | | | 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.
* Account for a paragraph that starts with a colon when processing def_listsWaylan Limberg2013-02-061-4/+10
| | | | Fixes #171. While that report provided an example of an unordered list item that started with a colon, any block that starts with a colon and has no siblings before it (paragraph as begining if document, list item, etc) all exhibit this same behavior. Following PHP Markdown Extra's lead, these are not definition items as they have no term before them.
* Fixed issue #66. Silly error. Not sure why the shebang lines were ↵Waylan Limberg2011-12-281-1/+1
| | | | capitalized. Thanks for the report.
* 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-2/+3
| | | | if they desire.
* Fix for undefined variables that need to be importedToshio Kuratomi2010-07-051-1/+1
|
* Fixed Ticket 60. The dd in definition lists can now not be indented on ↵Waylan Limberg2010-03-241-2/+7
| | | | secondary lines.
* Fixed minor typo in each of previous two commits.Waylan Limberg2008-11-221-1/+1
|
* Updated definition list extension to work with new block parser.Waylan Limberg2008-11-221-169/+67
|
* Moved markdown_extensions/ to markdown/extensions. Markdown is now one ↵Waylan Limberg2008-11-201-0/+206
package instead of two.