aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Last few changes to get other test frameworks to work. Added config options ↵Waylan Limberg2009-06-151-6/+6
| | | | | | | | | | | | to set file extensions and a few other tweeks.
| * | Added 'skip' as a config option. Individual tests or whole dirs can be ↵Waylan Limberg2009-06-151-4/+8
| | | | | | | | | | | | skipped by adding 'skip=1' to test.cfg.
| * | Cleaned up test descriptions for TestSyntax tests. They now only display a ↵Waylan Limberg2009-06-141-25/+42
| | | | | | | | | | | | relative path. Had to reimplement os.path.relpath from python 2.6 for it to work in previous versions.
| * | Altered HtmlOutput nose plugin to slow skipped tests.Waylan Limberg2009-06-061-1/+1
| | |
| * | Added support for a 'normalize' setting in test.cfg which uses HTML Tidy to ↵Waylan Limberg2009-06-061-11/+46
| | | | | | | | | | | | normalize whitespace for running tests against other testing framework's tests files (i.e.: perl or php). Hopefully, I got Tidy's settings right so that only unsignificant whitespace is altered. There's always the possability this could hide some bugs.
| * | renamed 'markdown-test' to 'basic' as that what those tests actually are. ↵Waylan Limberg2009-06-0545-2/+0
| | | | | | | | | | | | Also resolved issue with api tests being autodiscovered. test_apis.py was executable so nose was ignoring it.
| * | And more cleanup. Removed old suite from api tests.Waylan Limberg2009-06-051-20/+0
| | |
| * | More cleanup. Added some doc strings. Removed old testing framework files.Waylan Limberg2009-06-054-582/+13
| | |
| * | Remove old base.py nose code. I thought this was gone a long tiem ago.Waylan Limberg2009-06-051-62/+0
| | |
| * | Updated setup.py to properly include test data.Waylan Limberg2009-06-052-2/+6
| | |
| * | Updated Manifest.in to include test files.Waylan Limberg2009-06-051-0/+1
| | |
| * | Added safe_mode tests for the modes remove and replace.Waylan Limberg2009-06-055-0/+212
| | |
| * | Updated new test.cfg settings files to support sections for individual ↵Waylan Limberg2009-06-0532-18/+40
| | | | | | | | | | | | files. Extension tests were rearranged to take advantage of this with all extensions in one dir (actually two - a seperate dir for extra and its related extensions) and a seperate section for each file in test.cfg.
| * | Cleaned up some names for cleaner, more consistant result and code in ↵Waylan Limberg2009-06-053-11/+13
| | | | | | | | | | | | testing framework.
| * | Moves tests to a subdir of the markdown lib.Waylan Limberg2009-06-05226-0/+0
| | |
| * | Initial implementation of nose testing. Still some cleanup to do, but this ↵Waylan Limberg2009-06-0522-27/+513
| | | | | | | | | | | | shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like.
* | | Refactored codehilite and fenced code, so now fenced code will also be ↵Lucas van Dijk2010-01-253-94/+94
| | | | | | | | | | | | highlited when codehilite extension is enabled
* | | Added pygments support to fenced_codeLucas van Dijk2010-01-241-13/+64
| | |
* | | Added processing of markdown text within raw html to the 'extra' extension. ↵Waylan Limberg2010-01-034-2/+32
| | | | | | | | | | | | Fixes Ticket 39. NOTE: I did not add a seperate extension which only adds this feature - it is only available as part of 'extra'.
* | | Cleanup and additional work on previous commit. NOTE: removed special ↵Waylan Limberg2010-01-034-21/+68
| | | | | | | | | | | | treatment if raw <div>s with multiple line breaks - they no longer automagicly process their content as markdown. This matches other implementations. Finished rest of code for use by an extension - to be added later.
* | | Fixed Ticket 48. Quoted attributes in raw html are specificly ackowledged ↵Waylan Limberg2010-01-033-9/+47
| | | | | | | | | | | | | | | | | | now - allowing various arbitrary stuff (like x/html to be included without breaking the rawhtml parser. Although currently unused, the code also provides the parsed attributes as a dict. Should be useful for adding support for parsing markdown text within rawhtml in an extension.
* | | Fixed ticket 44. Raw HTML now maintains original whitespace. Important ↵Waylan Limberg2010-01-033-1/+19
| | | | | | | | | | | | inside raw <pre> tags.
* | | Added a test for previous comit from Steve Losh. Thanks Steve. Ticket 45 is ↵Waylan Limberg2009-12-262-0/+24
| | | | | | | | | | | | fixed.
* | | Fix the TOC extension for TOCs starting at levels other than 1.Steve Losh2009-12-251-1/+4
| | |
* | | The ENABLE_ATTRIBUTES global setting is now ackowledged.Waylan Limberg2009-10-211-17/+18
| | |
* | | Cleaned up documentation output from commandline --help option.Waylan Limberg2009-10-212-5/+10
| | |
* | | The commandline script now accepts input from stdin. By extension ↵Waylan Limberg2009-10-212-6/+8
| | | | | | | | | | | | markdownFromFile and Markdown.convertFile accept any file like object as input as well as a file name as string.
* | | Removed the pre 2.3 commandline stuff as we don't support those older ↵Waylan Limberg2009-10-211-29/+2
| | | | | | | | | | | | versions anyway.
* | | Added a --version option to the commandline script. I thought we already had ↵Waylan Limberg2009-10-211-2/+3
| | | | | | | | | | | | this. Not sure when we lost it.
* | | Fixed a silly bug in setup.py. Importing version from the lib requires that ↵2.0.3Waylan Limberg2009-10-072-3/+4
| | | | | | | | | | | | all dependencaies for the lib are present, so we can't actuly import the lib until after we check for dependencies - which means we can't import version in the setup script. Grrr. We'll have to remember to update the version number in both places from now on. Sigh.
* | | Upped version to 2.0.2-Final and added release notes.Waylan Limberg2009-07-313-2/+17
| | |
* | | Updated setup script to include dependency for elementtree when python ↵Waylan Limberg2009-07-311-33/+38
| | | | | | | | | | | | version < 2.5. Since Cheetah just added a dependency on Markdown (in 2.2.2) we've received numerious complaints from people trying to easy_install Cheetah on older pythons.
* | | Fixed Ticket 42. We really should abandon the 'message' function ↵Waylan Limberg2009-08-261-7/+10
| | | | | | | | | | | | altogeather, but this will do for now.
* | | Fixed Ticket 43. Apparenlty ElementTree does not recognize 'utf8' as an ↵Waylan Limberg2009-08-233-9/+9
| | | | | | | | | | | | alias of 'utf-8' and outputs invalid xml. We never noticed as stripTopLevelTags removes the offending fragment. However, there are legitimate uses for turning off stripTopLevelTags. Therefore, from now on we will be using 'utf-8' internally. Thanks to Mark Eichin for the report.
* | | Fixed a couple typos in previous commit.Waylan Limberg2009-07-311-2/+2
| | |
* | | Fixed Ticket 41. Docs now correctly point to ↵Waylan Limberg2009-07-311-18/+18
| | | | | | | | | | | | markdown.preprocessors.Preprocessor rather than markdown.Preprocessor etc.
* | | Fixed Ticket 37. When multiple markdown documents are displayed on one page andWaylan Limberg2009-07-212-5/+20
| | | | | | | | | | | | | | | contain footnotes with the same name, they will no longer collide when 'UNIQUE_IDS' is set to True. Thanks to Paul Stansifer for report and patch.
* | | Fixed Ticket 38. With smart_emphasis turned on, emphasised text can now be ↵Waylan Limberg2009-07-213-1/+15
| | | | | | | | | | | | wrapped in punctuation without spaces and still will be converted to emphasis (ie: '[_foo_]'). Test included. Thanks for the report seanh.
* | | Fixed TOC extension to properly nest multiple header levels in the table of ↵Waylan Limberg2009-07-213-7/+28
| |/ |/| | | | | contents. Specificly, when stepping back multiple levels, the nestsed listed now follow suite. Test included. Thanks for the patch Jack Miller.
* | Fixed ticket 35. Lists now work when padded with five or more spaces after ↵Waylan Limberg2009-06-173-4/+36
|/ | | | asterisk. Adjusted regex to eat all (one or more) of the spaces. While it may seem wrong (at least in the loose list case), this is how all other implementations work. And it solves a number of edge cases otherwise not accounted for in the list parser.
* Removing legacy extension. No real need to keep that old core around. I ↵Waylan Limberg2009-06-051-468/+0
| | | | created it as a novialty and for comparisive testing anyway. We've moved on, it no longer works and I don't want to maintain it. It's in the git log if anyone wants it.
* Fixed Ticket 34. stripToLevelTags now accounts for an empty document being ↵Waylan Limberg2009-06-051-3/+11
| | | | returned (such as when a document only contains link references) and acts accordingly.
* Upped version to 2.0.1-Final and added release notes.2.0.1Waylan Limberg2009-05-193-2/+18
|
* Fixed ticket 32. When raw html starts a line, the raw html is only broken ↵Waylan Limberg2009-05-131-8/+9
| | | | into a seperate block if it is a block tag. Inline tags are left in the block for the inline pattern as they should be.
* Fixed ticket 33. Tweaked the regex for inline links so that the title is ↵Waylan Limberg2009-05-061-1/+1
| | | | non-greedy - it no longer eats everything between the first links title and the last links title in a paragraph. Thanks to Charles Winebrinner for the report.
* Updated docs for recent command line script changes.Waylan Limberg2009-05-063-30/+21
|
* Fixed commandline issues and upped version to 2.0.1-beta. Renamed ↵Waylan Limberg2009-05-054-15/+32
| | | | markdown.py to markdown and added a markdown.bat wrapper for win32. Also had to put markdown script in a bin dir so it doesn't clash with the markdown lib dir because win32 doesn't allow a dir and file of the same name in same parent dir.
* Improved inline pattern regex for em & strong and added tests. Fixes Ticket ↵Waylan Limberg2009-03-303-6/+36
| | | | 30 and other related issues. Note that I went with php's behavior rather than perl's when we have have three (ie.: *** or ___) without a closing three.
* Upped version to 2.0 and a few edits to release notes.2.0-FinalWaylan Limberg2009-03-302-2/+5
|
* Added release notes for 2.0Waylan Limberg2009-03-301-0/+64
|