Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ensure Extension.getConfigInfo Test always passes | Waylan Limberg | 2014-08-01 | 1 | -2/+3 | |
| | | | | | Dicts don't preserve order but still will be equal while lists of tuples always preserve order. When we use a dict to create a list of tuples, the results are unpredictable - especially for a equality test. so we need to compare dicts, not lists. Related to #325 | |||||
* | Update reference docs for recent Extension.__init__ refactor. | Waylan Limberg | 2014-08-01 | 1 | -3/+13 | |
| | | | Noted that using keywords it the prefered method of passing config options to extensions. Also updated the example sto demonstrate the new prefered way as discussed in #325. | |||||
* | Update extensions for Extension.__init__ refactor | Waylan Limberg | 2014-07-31 | 20 | -118/+121 | |
| | | | | | | | | | | | | | | | | | Fixes #325. All extensions can now accept a dict of configs or **kwargs, not just a list of tuples. Third party extensions may want to follow suite. Extensions may only accept keyword arguments in the future. These changes still need to be documented. A couple things of note: The CodeHilite extension previously issued a DeprecationWarning if the old config key `force_linenos` was used. With thins change, a KeyError will now be raised. The `markdown.util.parseBoolValue` function gained a new argument: `preserve_none` (defaults to False), which when set to True, will pass None through unaltered (will not convert it to False). | |||||
* | Refactor markdown.extensions.Extension.__init__() | Waylan Limberg | 2014-07-29 | 2 | -8/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As pointed out in #325, setting up Extension configs is kind of a mess. Some places pass a list of tuples on initialization, others a dict. And sometimes they're passed as an arg, othertimes a kwarg. Addiitonaly, the docs are just as inconsistant. This refactor addresses all those sinerios with tests included. The existing extensions still need refactored. But the fact that their tests still pass means we havn't broken third party extensions either. This refactor also introduces a new API, which is the prefered method going forward. All docs should be updated to match. Whereas previously one might do: ```python MyExtension(configs={'key': 'foo', 'otherkey': 'bar'}) ``` This can now be done: ```python MyExtension(key='foo', otherkey='bar') ``` Of course, the old way still works for backward compatability. But that means the `configs` keyword has special status and cannot be used for another purpose. | |||||
* | Merge pull request #327 from mitya57/master | Waylan Limberg | 2014-07-27 | 1 | -1/+1 | |
|\ | | | | | tox.ini: install pytidylib from PyPI | |||||
| * | tox.ini: install pytidylib from PyPI | Dmitry Shachnev | 2014-07-25 | 1 | -1/+1 | |
|/ | | | | PyTidyLib Python 3 issues have been fixed in 0.2.3 release | |||||
* | Mark a few more lines with 'no cover' - missed them the first time through. ↵ | Waylan Limberg | 2014-07-11 | 3 | -6/+6 | |
| | | | | The rest should have test cases added. | |||||
* | Merge branch 'master' of github.com:waylan/Python-Markdown | Waylan Limberg | 2014-07-11 | 0 | -0/+0 | |
|\ | ||||||
| * | Added Coveralls status badge | Waylan Limberg | 2014-07-10 | 1 | -0/+1 | |
| | | ||||||
* | | Added Coveralls status badge | Waylan Limberg | 2014-07-11 | 1 | -0/+1 | |
| | | ||||||
* | | Marked a bunch of lines as 'no cover'. Coverage at 91% | Waylan Limberg | 2014-07-11 | 12 | -31/+32 | |
| | | ||||||
* | | Add tests of markdown.extensions.Extension | Waylan Limberg | 2014-07-11 | 1 | -0/+23 | |
| | | ||||||
* | | Better coverage config. Now at 88% coverage. | Waylan Limberg | 2014-07-11 | 2 | -1/+3 | |
|/ | ||||||
* | 100% test coverage of admonitions | Waylan Limberg | 2014-07-10 | 3 | -0/+4 | |
| | ||||||
* | Minor update to .coveragerc | Waylan Limberg | 2014-07-10 | 1 | -0/+2 | |
| | ||||||
* | Merge branch 'master' of github.com:waylan/Python-Markdown | Waylan Limberg | 2014-07-10 | 15 | -60/+89 | |
|\ | ||||||
| * | Merge pull request #319 from mitya57/master | Waylan Limberg | 2014-06-19 | 5 | -12/+30 | |
| |\ | | | | | | | smarty: add support for angled quotes | |||||
| | * | smarty: add support for angled quotes | Dmitry Shachnev | 2014-06-19 | 5 | -12/+30 | |
| |/ | | | | | | | See <http://en.wikipedia.org/wiki/Guillemet>. | |||||
| * | Merge pull request #317 from mitya57/doctests | Waylan Limberg | 2014-06-16 | 9 | -38/+39 | |
| |\ | | | | | | | Python 3.4 and fixes for doctests | |||||
| | * | Make doctests support Python 3 | Dmitry Shachnev | 2014-06-11 | 7 | -33/+33 | |
| | | | ||||||
| | * | Add 3.4 to list of Python versions to test with | Dmitry Shachnev | 2014-06-11 | 2 | -1/+2 | |
| | | | ||||||
| | * | Fix a doctest in fenced_code.py. | Andrey Rahmatullin | 2014-05-31 | 1 | -4/+4 | |
| | | | ||||||
| * | | Merge pull request #316 from mitya57/master | Waylan Limberg | 2014-06-08 | 3 | -2/+5 | |
| |\ \ | | |/ | |/| | Fix for smarty extension | |||||
| | * | Fix #315: Change order of smarty patterns to make the test pass again | Dmitry Shachnev | 2014-06-08 | 1 | -2/+2 | |
| | | | ||||||
| | * | Add failing unit test for smarty: ellipsis before close double quote ↵ | Lawrence Kesteloot | 2014-05-31 | 2 | -0/+3 | |
| |/ | | | | | | | generates opening double quote. | |||||
| * | Merge pull request #311 from mitya57/master | Waylan Limberg | 2014-05-26 | 3 | -8/+15 | |
| |\ | | | | | | | Make smarty extension work together with attr_list | |||||
| | * | Make smarty extension use its own InlineProcessor | Dmitry Shachnev | 2014-05-26 | 1 | -5/+11 | |
| | | | ||||||
| | * | Make it easier to override list of inline patterns for InlineProcessor | Dmitry Shachnev | 2014-05-26 | 1 | -2/+3 | |
| | | | ||||||
| | * | Add smarty to extensions for attr_list test | Dmitry Shachnev | 2014-05-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | To make it easier to notice (and fix) the failure. | |||||
* | | | Add Coverage (and Coveralls) support to tests. | Waylan Limberg | 2014-07-10 | 3 | -1/+8 | |
|/ / | | | | | | | Looks like we need to write some more tests. Only 76% covered. | |||||
* | | Support extensions as modules. | Waylan Limberg | 2014-05-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | Fixes #300. When a python module (.../__init__.py) is imported by `__import__` and the `from_list` argument is a unicode string (as is returned by rpartition), then an error is raised in Python 2.7. Force conversion to default string type (byte in 2.7 and unicode in 3) to avoid the error. For a full explaination, see issue [300](https://github.com/waylan/Python-Markdown/issues/300). | |||||
* | | Upped version to 2.4.12.4.1-final | Waylan Limberg | 2014-05-22 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #310 from ryneeverett/issue308 | Waylan Limberg | 2014-05-22 | 4 | -23/+30 | |
|\ \ | |/ |/| | Fix issue308 and fix (unrelated) failure to break out of nest loop. | |||||
| * | Fix issue308 and fix (unrelated) failure to break out of nest loop. | ryneeverett | 2014-05-21 | 4 | -23/+30 | |
|/ | ||||||
* | Skip a weird PHP test. | Waylan Limberg | 2014-04-20 | 1 | -0/+4 | |
| | | | I can't make out what this PHP test is trying to accomplish. From my point of view, our output is fine. So we skip this test. | |||||
* | No assertIs in Python 2.6. Fixes #294 | Waylan Limberg | 2014-04-20 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #306 from brownhead/master | Waylan Limberg | 2014-04-20 | 1 | -5/+8 | |
|\ | | | | | Emphasized proper use of reset method in docs. | |||||
| * | Emphasized proper use of reset method in docs. | John Sullivan | 2014-04-19 | 1 | -5/+8 | |
|/ | | | | This is related to waylan/Python-Markdown#305. | |||||
* | Added some badges to the README | Waylan Limberg | 2014-03-24 | 1 | -1/+5 | |
| | | | Using shields.io for generating badges. | |||||
* | Update .travis.yml | Waylan Limberg | 2014-03-24 | 1 | -0/+3 | |
| | | | Add install of libtidy dependancy. Forgot about that. | |||||
* | Add .travis.yml file | Waylan Limberg | 2014-03-24 | 1 | -0/+10 | |
| | | | | | | | | | Just uses the existing tox config as described in <http://borntyping.com/posts/tox-and-travis-ci.html>. This fixes #299. I took this route rather than @mitya57's suggestion because we get better test coverage with tox's config (more dependencies are installed) and I can't see mirroring that here when we can just reuse it. | |||||
* | Merge pull request #296 from mitya57/smarty-fixes | Waylan Limberg | 2014-03-13 | 1 | -4/+4 | |
|\ | | | | | Smarty extension fixes | |||||
| * | smarty: Fix test failure with Python 3.1 and 3.2. Fixes #295 | Dmitry Shachnev | 2014-03-11 | 1 | -1/+1 | |
| | | ||||||
| * | smarty: Pass tuples, not iterable strings to the pattern. | Dmitry Shachnev | 2014-03-11 | 1 | -3/+3 | |
|/ | ||||||
* | Merge pull request #293 from martinmaillard/fix-reference-typo | Waylan Limberg | 2014-03-03 | 1 | -1/+1 | |
|\ | | | | | Fix typo in reference.txt | |||||
| * | Fix typo in reference.txt | Martin Maillard | 2014-03-03 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #292 from Dav1dde/master | Waylan Limberg | 2014-03-02 | 1 | -1/+1 | |
|\ | | | | | added nav-tag as block level element. Fixes #191. Thanks @Dav1dde | |||||
| * | added nav-tag as block level element | David | 2014-03-02 | 1 | -1/+1 | |
|/ | ||||||
* | Upped version to 2.4 final.2.4-final | Waylan Limberg | 2014-02-16 | 2 | -2/+2 | |
| | ||||||
* | Cleaned up some minor issues with recent changes to docs. | Waylan Limberg | 2014-02-16 | 8 | -36/+55 | |
| |