summaryrefslogtreecommitdiff
path: root/markdown/extensions/admonition.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-7/+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.
* Allow capitalized Admonition title.Waylan Limberg2013-02-121-1/+1
| | | | | If an adminition title is capitalized, the html class on the div should still be lowercased.
* Added comments detailing the difference between not providing a title and ↵Tiago Serafim2012-09-191-0/+4
| | | | using a blank string as a title
* More tests for the extension and new tests for the RE. It's now possible to ↵Tiago Serafim2012-09-191-9/+9
| | | | use an explicit blank title to not have the <p> tag with the title rendered.
* Removed the configs.Tiago Serafim2012-09-081-39/+16
|
* Initial version with insufficient tests and no docs.Tiago Serafim2012-09-021-0/+136