aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fixed a bug where Markdown choked on input of only whitespace. Added some tests.Waylan Limberg2009-03-212-1/+21
|
* Fixed a documentation error with recent wikilinks update and added a ↵Waylan Limberg2009-03-212-1/+10
| | | | regression test to make sure it continues to work.
* Cleaning up some stuff from last commit.Waylan Limberg2009-03-201-1/+1
|
* Fixed a few bugs in wikilinks url cleaning. And for those who don't like the ↵Waylan Limberg2009-03-203-5/+33
| | | | default, added a config which accepts a callable to replace the default. Updated tests and docs.
* Set version to 2.0-rc2.Waylan Limberg2009-03-192-3/+2
|
* Added documentation for the rest of the extensions included with the ↵Waylan Limberg2009-03-198-1/+469
| | | | distribution.
* Added documentation for Extra Extension and all the extentions it supports. ↵Waylan Limberg2009-03-187-0/+433
| | | | Still need to do non-extra extensions.
* Fixed bug in toc extension and added a test. We now disallow the marker in ↵Waylan Limberg2009-03-183-1/+19
| | | | any headers (h1-6) as this crashes markdown with an infinite loop trying to build the toc. Thanks for the report Holger Rapp.
* Added extension subdir to docs with index listing all included extensions. ↵Waylan Limberg2009-03-172-1/+46
| | | | Now we just need to document each one.
* Fixed various typos etc in the docs.Waylan Limberg2009-03-173-18/+18
|
* Added docs regarding output formats and a few other changes/cleanup to the docs.Waylan Limberg2009-03-163-13/+43
|
* Output formats are now listed in a Dict mapped to their respective ↵Waylan Limberg2009-03-161-6/+13
| | | | serializers. Extensions can now easily add their own serializers.
* Updated docs for command line usage.Waylan Limberg2009-03-161-12/+62
|
* Allow markdown.py script to run on Windows - stop it from importing itself ↵Waylan Limberg2009-03-161-0/+11
| | | | instead of the library. Note that this only works if the markdown library is installed (mostly likely in sitepackages). It will not work if the markdown library is in the same directory as markdown.py (such as an uninstalled source distribution).
* Fixed ticket 25. Added reset to HeaderID extension. Reset now resets the ↵Waylan Limberg2009-03-131-5/+8
| | | | duplicate id counter.
* Slight change to convertFromFile - better checking of type of output ↵Waylan Limberg2009-03-121-1/+1
| | | | (filename or file-like-object).
* Added table elements to block elements so tables get prettified and updated ↵Waylan Limberg2009-03-112-7/+120
| | | | tables extension test.
* Replacement Tables extension. This one actually uses a known (PHP Extra) ↵Waylan Limberg2009-03-113-76/+116
| | | | syntax and is implemented as a blockprocessor. Currently, Markdown doesn't see table elements as block elements, so it doesn't get prettified.
* Fixed bug in tables extension (ticket 24). This extension could still use a ↵Waylan Limberg2009-03-093-4/+3
| | | | major refactor, but it at least works as documented.
* Upped version to 2.0-rc12.0-rc1Waylan Limberg2009-03-085-11/+32
|
* Added some more meta-data to setup.py. Shouldn't have to manually edit pypi ↵Waylan Limberg2009-02-041-0/+14
| | | | page anymore.
* Completed nested lists and added a test. All tests pass.Waylan Limberg2009-02-043-5/+81
|
* Added support for multilevel lists - step one. Currently only works for ↵Waylan Limberg2009-02-042-10/+29
| | | | loose lists. In fact, non-loose lists are currently broken - seen as code blocks.
* Updated setup.py license to match the actual license.Waylan Limberg2009-02-021-1/+1
|
* Updated fenced_code extension to fit in with consensious on Markdown list. ↵Waylan Limberg2009-02-021-5/+5
| | | | Language is defined on first line rather than last, and currly brackets around language are optional.
* Fixed error handling to work when the logger is not being used.Waylan Limberg2009-01-281-23/+43
| | | | | | | | Previously, when using as a module and not setting up your own logger, the logger would fail and Markdown would choke on the unresolved problem. Now exceptions or warnings are raised as appropriate (based on log level). However, if the user has configured the logger, the errors are logged, not raised and Markdown either continues or exits based on log level.
* Added optional HTML 4 output. Available formats currently include XHTML 1 ↵Eric Abrahamsen2009-01-286-21/+346
| | | | | | | | and HTML 4. Thanks to Eric Abrahamsen for doing the legwork and providing an initial working patch. And thanks to Fredrik Lundh for allowing us to include his html4 serializer from the ElementTree 1.3 preview.