Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | All API tests now utilize our own searializers. | Waylan Limberg | 2011-07-27 | 1 | -3/+5 |
| | |||||
* | Stripped out encoding/decoding in the searializers. | Waylan Limberg | 2011-07-27 | 2 | -48/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | Those extra steps always bothered me as being unnecessary. Additionally, this should make conversion to Python 3 easier. The 2to3 tool wasn't converting the searializers properly and we were getting byte strings in the output. Previously, this wasn't a major problem because the default searializer was the xml searializer provided in the ElementTree standard lib. However, now that we are using our own xhtml searializer, it must work smoothly in all supported versions. As a side note, I believe the thought was that we needed to do the encoding to take advantage of the "xmlcharrefreplace" error handling. However, using the example in the python [docs](http://docs.python.org/howto/unicode.html#the-unicode-type): >>> u = unichr(40960) + u'abcd' + unichr(1972) >>> u.encode('utf-8', 'xmlcharrefreplace').decode('utf-8') == u True There's no point of using the "xmlcharrefreplace" error handling if we just convert back to the original Unicode anyway. Interestingly, the Python 3 standard lib is doing essentially what we are doing here, so I'm convinced this is the right way to go. | ||||
* | Fix syntax error in doctests which tripped up the 2to3 tool. | Waylan Limberg | 2011-07-24 | 1 | -6/+6 |
| | |||||
* | Added fabfile as a script to automate various common mainentance tasks. ↵ | Waylan Limberg | 2011-07-24 | 1 | -0/+68 |
| | | | | Currently only automates testing (makes 2to3 testing easier). More featurs to come. | ||||
* | Fixed a few minor Python2.4 incompatabilities. Runs in 2.4-2.7 cleanly. | Waylan Limberg | 2011-07-22 | 2 | -2/+8 |
| | |||||
* | Fixed the bug exposed in 8761cd1780a7cec60123. We no longer should get empty ↵ | Waylan Limberg | 2011-07-21 | 1 | -2/+3 |
| | | | | rawhtml blocks. All tests pass again. | ||||
* | Fixed #31. Headers in tight lists now get inline patterns run on their ↵ | Waylan Limberg | 2011-07-21 | 3 | -5/+16 |
| | | | | tails. Tests included. | ||||
* | Updated toc extension's anchorlink option to work properly with recent refactor. | Waylan Limberg | 2011-07-14 | 1 | -2/+6 |
| | |||||
* | Refactored the toc extension. Fixes #33: The [TOC] marker is now ignored in ↵ | Waylan Limberg | 2011-07-14 | 1 | -28/+17 |
| | | | | code blocks/spans. A better fix for #4: Only the *text* from the header is caried over to the toc (without *any* inline formatting). Also refactored the extension to better work in tandem with the refactored headerid extension and the new attr_list extension. | ||||
* | Fixed #34. Better support for unicode text with the html_tidy extension. ↵ | Waylan Limberg | 2011-07-14 | 1 | -2/+5 |
| | | | | Force input and output of tidy to use UTF-8 and encode before and decode after passing in the text. | ||||
* | Updated release notes for recent changes to headerid extension. | Waylan Limberg | 2011-06-30 | 1 | -0/+6 |
| | |||||
* | Refactored HeaderId extension to no longer include defining ids. It only ↵ | Waylan Limberg | 2011-06-30 | 4 | -126/+126 |
| | | | | autogenerates ids. If you want to define your own, use the attr_list extension. Also expanded HeaderId extension to use the same algorithm as the TOC extension (which is better) for slugifying the header text. Added config settings to override the default word separator and the slugify callable. Closes #16 as the reported bug is for a removed feature. | ||||
* | Fixed #30. Tables now allow three spaces of indent like PHP Markdown Extra. ↵ | Waylan Limberg | 2011-06-29 | 3 | -7/+69 |
| | | | | Thanks to skurfer for report and inital patch. | ||||
* | Fixed #28. Inline raw html is now enclosed in p tags. This used to work. ↵ | Waylan Limberg | 2011-06-28 | 4 | -3/+16 |
| | | | | Somehow we stopped checking for a single inline html element when swapping back in raw html. Added a test. Also patched a weird (invalid) comment test. Seeing the input is not really a valid html comment - it doesn't matter what we do with it. I suppose we test it to make sure it doesn't break the parser. Actual output is not so important. As a side note, this has exposed a preexisting (unrelated) bug with the extra extension's handling of raw html. That test is failing following this fix. | ||||
* | Merge pull request #27 from teepark/stdin-encoding | Waylan Limberg | 2011-06-27 | 1 | -1/+1 |
|\ | | | | | also respect encoding when reading from a user-provided file | ||||
| * | also respect encoding when reading from a user-provided file | Travis Parker | 2011-06-25 | 1 | -1/+1 |
|/ | |||||
* | Added first draft of 2.1.0-Alpha release notes. | Waylan Limberg | 2011-06-23 | 1 | -0/+97 |
| | |||||
* | Added html5 and xhtml5 output formats. These are just aliases to html4 and ↵ | Waylan Limberg | 2011-06-23 | 2 | -2/+8 |
| | | | | xhtml1 searializers respectively. | ||||
* | Added test for escaping chars in link urls. Closes #14 which was fixed in ↵ | Waylan Limberg | 2011-06-23 | 2 | -0/+10 |
| | | | | previous commits. This addes the missing tests. | ||||
* | Cleaned up backward compatability of old positional arguments. Some people ↵ | Waylan Limberg | 2011-06-23 | 2 | -20/+53 |
| | | | | may be using them, so we should continue to support them. Also adjusted docs to encourage using keyword args only. However, if existing code was using positional args in previous versions, it should still work. | ||||
* | Added nl2br extension. Closes #13. Thanks to Brian Neal for writing the code ↵ | Waylan Limberg | 2011-06-21 | 3 | -17/+56 |
| | | | | and allowing us to use it. |