Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Future imports go after the docstrings | Adam Dinwoodie | 2013-03-18 | 23 | -23/+24 |
| | | | | | | | | | 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. | ||||
* | Merge branch 'master' of https://github.com/waylan/Python-Markdown | Waylan Limberg | 2013-03-15 | 2 | -4/+11 |
|\ | |||||
| * | Merge pull request #201 from mitya57/pyflakes-fixes | Waylan Limberg | 2013-03-15 | 2 | -4/+11 |
| |\ | | | | | | | Fix some pyflakes-undefined-name warnings | ||||
| | * | Fix some pyflakes-undefined-name warnings | Dmitry Shachnev | 2013-03-15 | 2 | -4/+11 |
| |/ | |||||
* / | More makefile cleanup. Fixes #202. | Waylan Limberg | 2013-03-15 | 2 | -3/+11 |
|/ | |||||
* | Allow run-tests script options and args to be passed through to nose. | Waylan Limberg | 2013-03-15 | 1 | -6/+4 |
| | |||||
* | Merge pull request #200 from timonwong/master | Waylan Limberg | 2013-03-15 | 1 | -1/+1 |
|\ | | | | | Fix wrong 'linenos' argument for CodeHilite(), in fenced_code.py | ||||
| * | Update fenced_code.py | Timon Wong | 2013-03-15 | 1 | -1/+1 |
|/ | | | CodeHilite: linenos is replaced by linenums | ||||
* | Date release 2.3 in change_log | Waylan Limberg | 2013-03-15 | 1 | -1/+1 |
| | |||||
* | Fixed a few minor issues with the makefile discovered deploying the last ↵ | Waylan Limberg | 2013-03-15 | 1 | -4/+7 |
| | | | | release. | ||||
* | Version 2.3 Final2.3.final | Waylan Limberg | 2013-03-14 | 1 | -1/+1 |
| | |||||
* | Added PyTidyLib to tox deps and set download-cache. | Waylan Limberg | 2013-03-14 | 1 | -1/+3 |
| | |||||
* | Updated testing framework to use PyTidyLib rather than uTidyLib for Python 3 ↵ | Waylan Limberg | 2013-03-13 | 2 | -27/+26 |
| | | | | support. | ||||
* | Removed html_tidy docs. | Waylan Limberg | 2013-03-13 | 1 | -34/+0 |
| | |||||
* | Removed the html_tidy extension. See 2.3 release notes for explaination. | Waylan Limberg | 2013-03-13 | 6 | -82/+22 |
| | |||||
* | Added Python 3.3 to list of supported versions and removed 2.5. | Waylan Limberg | 2013-03-06 | 1 | -1/+1 |
| | |||||
* | Switched testing to tox. | Waylan Limberg | 2013-03-01 | 5 | -106/+62 |
| | | | | | | | | | | Also scrapped fabfile.py and replaced it with a much simpler makefile. Tox does most of the stuff that was in fabfile.py anyway. Now that everything runs in all supported python versions without using 2to3, we don't need to wait for tox to support it. | ||||
* | Tweaked the docs some more. | Waylan Limberg | 2013-02-27 | 6 | -56/+72 |
| | |||||
* | Minor formatting edit to release notes for v2.3. | Waylan Limberg | 2013-02-27 | 1 | -1/+1 |
| | |||||
* | Updated release notes for v2.3. to reflect recent changes. | Waylan Limberg | 2013-02-27 | 1 | -14/+32 |
| | |||||
* | Dict.keys() does not return a list in Python 3. | Waylan Limberg | 2013-02-27 | 2 | -2/+2 |
| | |||||
* | Merge branch '2and3' | Waylan Limberg | 2013-02-27 | 31 | -304/+324 |
|\ | |||||
| * | Now using universal code for Python 2 & 3. | Waylan Limberg | 2013-02-27 | 30 | -271/+311 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Simlify importing ElementTree | Waylan Limberg | 2013-02-26 | 2 | -33/+13 |
| | | | | | | | | | | | | As we no longer support older python versions, importing ElementTree is much simpler. The documented way for extensions to use etree still remains the same. | ||||
* | | CodeHilite tests pass in all pygments versions. | Waylan Limberg | 2013-02-25 | 1 | -15/+11 |
| | | |||||
* | | Update tests to only run on supported versions of python. | Waylan Limberg | 2013-02-25 | 1 | -1/+1 |
| | | |||||
* | | Missed a set.append -> set.add. | Waylan Limberg | 2013-02-25 | 1 | -1/+1 |
| | | |||||
* | | Consistant parsing of attr_lists in Python3.3 | Waylan Limberg | 2013-02-25 | 1 | -2/+2 |
|/ | | | | | | Fixes #194. The NAME_RE regex was failing in Python 3.3 with the range `\u10000-\ueffff`. Also, in Python =< 3.2 the range `\u0300-\u036f` matches a colon but not in Python 3.3. | ||||
* | Merge branch 'master' of https://github.com/waylan/Python-Markdown | Waylan Limberg | 2013-02-22 | 1 | -4/+6 |
|\ | |||||
| * | Better clarify the 4 space indentation rule. | Waylan Limberg | 2013-02-21 | 1 | -7/+5 |
| | | | | | | A better explanation for #193 that includes all block-level elements nested in lists. | ||||
| * | Update docs/index.txt | Waylan Limberg | 2013-02-21 | 1 | -0/+4 |
| | | | | | | | | | | | | Clarify that strict 4 space indentation applies to nested lists. Closes #193. Hopefully, people will read this in the docs before filing bug reports in the future. One can dream. | ||||
* | | Change `set.append` -> `set.add` in `headerid.unique` | Waylan Limberg | 2013-02-22 | 3 | -3/+10 |
|/ | | | | | | | | | Fixes #195. This was getting missed because the HeadrerId extension's reset method was resetting the IDs to a list. However, some third party extensions may want to call the unique function and it should work as documented. Interestingly, the TOC extension was using it and passing in a list as well. All fixed now. Also added a test of the `unique` function directly so we shouldn't repeat this in the future. | ||||
* | Various changes to docs for updated changes, clarity, and to fix typos. | Waylan Limberg | 2013-02-19 | 13 | -160/+171 |
| | |||||
* | Updated toc tests. | Waylan Limberg | 2013-02-19 | 2 | -2/+2 |
| | |||||
* | More TOC cleanup and added tests. | Waylan Limberg | 2013-02-19 | 1 | -2/+2 |
| | |||||
* | TOC list item names must use text from all children. | Waylan Limberg | 2013-02-19 | 1 | -1/+1 |
| | |||||
* | Updated toc extension to work with changes @ 4ff74e3. | Waylan Limberg | 2013-02-19 | 1 | -2/+2 |
| | |||||
* | Ensure toc attribute is available on Markdown class. | Waylan Limberg | 2013-02-19 | 3 | -5/+61 |
| | | | | | | This appears to have recently been broken with the fixes in #191. This time I've added tests to prevent future breakage and added documentation to explain the behavior. | ||||
* | Merge pull request #192 from benjaoming/master | Waylan Limberg | 2013-02-18 | 4 | -28/+45 |
|\ | | | | | Little changes | ||||
| * | adding test for out of order headlines | benjaoming | 2013-02-18 | 3 | -0/+16 |
| | | |||||
| * | Do not use assigned names "next" and "id", rename to order_toc_list and ↵ | benjaoming | 2013-02-18 | 1 | -18/+20 |
| | | | | | | | | clean up code | ||||
| * | Merge branch 'toc-fix' | benjaoming | 2013-02-18 | 1 | -13/+12 |
|/| | |||||
| * | code cleanup | benjaoming | 2013-02-18 | 1 | -13/+12 |
| | | |||||
* | | Merge pull request #191 from benjaoming/toc-fix | Waylan Limberg | 2013-02-17 | 1 | -63/+126 |
|\| | | | | | Make TocTreeprocessor extendable and be gentle on badly structured headings | ||||
| * | Make TocTreeprocessor extendable and be more gentle on badly structured headings | benjaoming | 2013-02-17 | 1 | -63/+126 |
|/ | |||||
* | Allow better linenum override in CodeHilite | Waylan Limberg | 2013-02-14 | 4 | -20/+125 |
| | | | | | | | | | | | Fixes #148. The "force_linenos" config setting of the CodeHilite extension has been marked as Pending Deprecation and a new setting "linenums" has been added to replace it. See documentation for the [CodeHilite Extension] for an explaination of the new "linenums" setting. The new setting will honor the old "force_linenos" if it is set, but it will raise a PendingDeprecationWarning and will likely be removed in a future version of Python-Markdown. [CodeHilite Extension]: extensions/codehilite.html | ||||
* | Preserve all blank lines in code blocks. | Waylan Limberg | 2013-02-14 | 2 | -14/+14 |
| | | | | | | | | | | | | Fixes #183. Finally got this working properly. The key was using a regex substitution with non-overlapping matches that removed all whitespace from the begining of *all* blank lines when normalizing whitespace. Once I got that, I could simplfy the EmptyBlockProcessor and easily output one or two blank lines appropriately. A blank block gets two new lines (`'\n\n'`), while a block which starts with a newline gets one. | ||||
* | Remove RSS Extension. | Waylan Limberg | 2013-02-12 | 6 | -161/+8 |
| | | | | | | Closes #143. If you would like to continue using the extension (not recomended), it is archived on [Github](https://gist.github.com/waylan/4773365). | ||||
* | Build_docs script now uses new Admonition extension. | Waylan Limberg | 2013-02-12 | 1 | -1/+1 |
| | |||||
* | Allow capitalized Admonition title. | Waylan Limberg | 2013-02-12 | 2 | -2/+2 |
| | | | | | If an adminition title is capitalized, the html class on the div should still be lowercased. |