Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 2.1.0-Final2.1.0.final | Waylan Limberg | 2011-11-24 | 3 | -9/+7 |
| | |||||
* | Some more tests for issue #51. An upate to Marcin Kasperski's tests (which I ↵ | Waylan Limberg | 2011-11-17 | 3 | -2402/+1212 |
| | | | | previously merged). Thanks Marcin. Also added a test for not-indented secondary lines of a first paragraph in a footnote definition. | ||||
* | Merge git://github.com/Mekk/Python-Markdown into mekk | Waylan Limberg | 2011-11-17 | 2 | -0/+10796 |
|\ | |||||
| * | Example test for #51 (crash on docs with +1000 footnotes) | Marcin Kasperski | 2011-11-10 | 2 | -0/+10796 |
| | | |||||
* | | Fixed #51. Removed recussion from footnote preproccessor. Also refactors the ↵ | Waylan Limberg | 2011-11-18 | 4 | -61/+38 |
| | | | | | | | | code to provide a few other minor improvements s that output more closely matches php's output. Thus the changes in the tests. | ||||
* | | Fixed #47. Improved HRProccessor.\n\nPython's re module does not support ↵ | Waylan Limberg | 2011-11-17 | 3 | -19/+26 |
|/ | | | | atomic grouping, which was slowing the HR regex down if a long HR ended with a non HR char (casing the regex to backtrack). Therefore, we have to simulate atomic grouping. Fortunately, we only need to match end-of-line or end-of-string after the atomic group here, so it was an easy case to simulate. Just remove the '$' from the end of the regex and manualy check using m.end(). The run method was refactored while I was at it, saving us from running the regex twice for each HR. | ||||
* | Fixed #49. Don't crash on poorly/randomly ordered header levels. Maybe ↵ | Waylan Limberg | 2011-10-30 | 1 | -42/+46 |
| | | | | someday we will better support any input (patches welcome), but we should never crash on poorly formatted input text. With this fix, we catch the exception and skip over it. The TOC up to the point (and perhaps after) still gets rendered. The incomplete TOC should be the clue to the document author that s/he has a formatting error in the document. | ||||
* | Release 2.1.0-Beta2.1.0.beta | Waylan Limberg | 2011-10-10 | 3 | -27/+28 |
| | |||||
* | Removed another [[wikilink]] style link from the docs. | Waylan Limberg | 2011-10-06 | 1 | -1/+2 |
| | |||||
* | Fixed a few issues with writing_extensions.md. | Waylan Limberg | 2011-10-06 | 1 | -11/+14 |
| | |||||
* | Fixed minor typo in docs/index.md | Waylan Limberg | 2011-10-06 | 1 | -1/+1 |
| | |||||
* | Added an index.md file to the docs. The docs can now be a full website unto ↵ | Waylan Limberg | 2011-10-06 | 1 | -0/+61 |
| | | | | themselves. | ||||
* | Updated docs/extensions/index to be more informative - not just list extensions. | Waylan Limberg | 2011-10-06 | 1 | -2/+30 |
| | |||||
* | No longer skipping all tests from PHP test suite. We skip some because PHP ↵ | Waylan Limberg | 2011-10-06 | 1 | -1/+38 |
| | | | | differs from markdown.pl and we match markdown.pl. A few others are skipped because we have to adjust for a few edge cases. See comments in tests/php/test.cfg for details. | ||||
* | Allow UPPERCASE urls in auto links. | Waylan Limberg | 2011-10-06 | 1 | -1/+1 |
| | |||||
* | Skipped 3 failing pl tests with some weird edge cases. A significant rewrite ↵ | Waylan Limberg | 2011-10-06 | 1 | -0/+12 |
| | | | | if inlinepatterns will probably be needed for this. Putting it on hold till after 2.1-final is released. | ||||
* | Fixed #44. The TOC extension will now except True/False in addition to 1/0 ↵ | Waylan Limberg | 2011-10-06 | 1 | -1/+1 |
| | | | | from the command line style syntax for passing in bool type extension configs. In order words, we now except strings in addition to booleans and integers. | ||||
* | Do'h! Fixed a silly typo. | Waylan Limberg | 2011-10-05 | 1 | -1/+1 |
| | |||||
* | Fixed a few typos in the using_as_module docs. | Waylan Limberg | 2011-10-05 | 1 | -12/+16 |
| | |||||
* | Fixed one more [[wikilink]] missed in previous commit. | Waylan Limberg | 2011-10-05 | 1 | -1/+1 |
| | |||||
* | Fixed a few errors in the 2.1.0-alpha release notes and updated links to not ↵ | Waylan Limberg | 2011-10-05 | 1 | -13/+15 |
| | | | | use the [[wikilink]] style. | ||||
* | Made a few minor edits to command line docs. | Waylan Limberg | 2011-10-05 | 1 | -4/+4 |
| | |||||
* | Updated docs to no longer use the [[wikilink]] style links from the old ↵ | Waylan Limberg | 2011-09-22 | 6 | -38/+37 |
| | | | | wiki. All links are not realative links which should work with the supplied docs generator. | ||||
* | Updated Extra Extension docs to relect recent changes in the extension. | Waylan Limberg | 2011-09-22 | 1 | -9/+7 |
| | |||||
* | Run a few more pl tests. Some of them are failing but should be easily fixable. | Waylan Limberg | 2011-08-27 | 2 | -0/+12 |
| | |||||
* | Added greater-than as an escaped character. Apparently markdown.pl escapes ↵ | Waylan Limberg | 2011-08-27 | 3 | -1/+4 |
| | | | | it even though it is not documented. | ||||
* | Added support to build_docs command to copy non markdown files unmodified. | Waylan Limberg | 2011-08-23 | 3 | -6/+10 |
| | |||||
* | Update build_docs script for the *.txt -> *.md change in docs. | Waylan Limberg | 2011-08-23 | 2 | -10/+76 |
| | |||||
* | Renamed *.txt -> *.md in docs. | Waylan Limberg | 2011-08-23 | 31 | -39/+1 |
| | |||||
* | Fixed #39. Refactored escaping so that it only escapes a predifined set of ↵ | Waylan Limberg | 2011-08-17 | 5 | -8/+29 |
| | | | | chars (the set defined by JG in the syntax rules). All other backslashes are passed through unaltered by the parser. If extensions want to add to the escapable chars, they can append to the list at markdown.ESCAPED_CHARS. | ||||
* | Fixed the fabfile geterate_test(s) commands so they actually import the ↵ | Waylan Limberg | 2011-08-17 | 1 | -2/+6 |
| | | | | testing framework. | ||||
* | The build_docs command now uses extra and toc extensions and a template on ↵ | Waylan Limberg | 2011-08-04 | 2 | -31/+34 |
| | | | | the file system. | ||||
* | TOC extension now attaches toc to Markdown instance (Markdown.toc), but only ↵ | Waylan Limberg | 2011-08-04 | 1 | -0/+11 |
| | | | | if a marker was not found in the document. | ||||
* | Added some fadfile commands to (re)generate tests when they are added or ↵ | Waylan Limberg | 2011-08-04 | 2 | -5/+54 |
| | | | | updated. | ||||
* | Set version to '2.1.0.alpha'.2.1.0.alpha | Waylan Limberg | 2011-08-03 | 2 | -3/+3 |
| | |||||
* | Added 'fab clean' command. | Waylan Limberg | 2011-08-03 | 1 | -0/+4 |
| | |||||
* | Updated release notes to include a note about support for python's `-m` option. | Waylan Limberg | 2011-08-03 | 1 | -0/+6 |
| | |||||
* | Added support for python's '-m' command line option. Do 'python -m markdown ↵ | Waylan Limberg | 2011-08-03 | 4 | -28/+49 |
| | | | | [options] [args]'. I suspect will drop the command line script (markdown_py) when we drop support for Python 2.4 as this is easier to support. | ||||
* | Cleaned up commandline script. Everything is in module now. | Waylan Limberg | 2011-08-03 | 2 | -10/+2 |
| | |||||
* | Markdown.convertFile now actually works with stdin and stdout. Previously ↵ | Waylan Limberg | 2011-08-03 | 2 | -5/+9 |
| | | | | only the commandline script did. | ||||
* | rename command 'fab do_release' -> 'fad deploy_release' | Waylan Limberg | 2011-08-03 | 1 | -1/+1 |
| | |||||
* | Updated fabfile to automate deploying a release. Includes building a release ↵ | Waylan Limberg | 2011-08-03 | 1 | -2/+81 |
| | | | | distribution, registering it with PyPI and uploading donwloads to PyPI and Github. | ||||
* | Added doctests to fabfile and edited them to pass in all supported versions ↵ | Waylan Limberg | 2011-08-02 | 8 | -58/+67 |
| | | | | of python. Note: one test (meta) is still failing on Python 3 due to unicode strings. | ||||
* | Edited release notes. Made a few minor corrections and added a note ↵ | Waylan Limberg | 2011-07-28 | 1 | -7/+15 |
| | | | | regarding supported python versions. No more support for Python 2.3 with 2.4 support depreciated. We now support Python 3.2. | ||||
* | TestCase.assert_ and TestCase.failUnless are depreciated in Python 3 in ↵ | Waylan Limberg | 2011-07-28 | 1 | -3/+3 |
| | | | | favor of testCase.assertTrue. Might as well be using the right method in our tests. | ||||
* | Fix a minor Python 3 incompatability in the headerid extension's slugify ↵ | Waylan Limberg | 2011-07-28 | 1 | -1/+1 |
| | | | | function. The url is being encoded (with errors ignored) as an easy means of removing non-ascii chars, but we have to re-encode it *before* running the regex on it, not after. | ||||
* | Skip the UnidoceDecodeError API test in Python 3.x as all input should be ↵ | Waylan Limberg | 2011-07-28 | 1 | -2/+3 |
| | | | | unicode anyway. | ||||
* | Python 3.2 made some changes to the configparser which broke the testing ↵ | Waylan Limberg | 2011-07-28 | 2 | -5/+5 |
| | | | | framework. With a simple addition to our subclass (which we then make use of), this is an easy fix. | ||||
* | Fixed a Python 2.4 incompatability in last commit. 'encode' only accepted ↵ | Waylan Limberg | 2011-07-28 | 2 | -2/+2 |
| | | | | positional arguments back then. | ||||
* | All internal encoding of output now uses the 'xmlcharrefreplace' error ↵ | Waylan Limberg | 2011-07-28 | 3 | -6/+13 |
| | | | | handler. Also added a note to the docs. Anyone doing their own encoding of output should be as well. |