aboutsummaryrefslogtreecommitdiffstats
path: root/markdown
Commit message (Collapse)AuthorAgeFilesLines
* 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-191-2/+2
|
* 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-061-2/+2
|
* Fixed commandline issues and upped version to 2.0.1-beta. Renamed ↵Waylan Limberg2009-05-051-2/+2
| | | | 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-301-6/+6
| | | | 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-301-2/+2
|
* Fixed a bug where Markdown choked on input of only whitespace. Added some tests.Waylan Limberg2009-03-211-1/+1
|
* Fixed a documentation error with recent wikilinks update and added a ↵Waylan Limberg2009-03-211-0/+9
| | | | 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-201-5/+13
| | | | 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-191-2/+2
|
* Fixed bug in toc extension and added a test. We now disallow the marker in ↵Waylan Limberg2009-03-181-1/+4
| | | | any headers (h1-6) as this crashes markdown with an infinite loop trying to build the toc. Thanks for the report Holger Rapp.
* 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.
* 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-111-1/+2
| | | | tables extension test.
* Replacement Tables extension. This one actually uses a known (PHP Extra) ↵Waylan Limberg2009-03-111-52/+80
| | | | 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-091-2/+1
| | | | major refactor, but it at least works as documented.
* Upped version to 2.0-rc12.0-rc1Waylan Limberg2009-03-081-2/+2
|
* Completed nested lists and added a test. All tests pass.Waylan Limberg2009-02-041-5/+18
|
* 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 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-283-18/+338
| | | | | | | | 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.
* Added html_tidy extension.Waylan Limberg2009-01-271-0/+62
|
* Making the space after angle brackets optional in blockquotes.Yuri Takhteyev2008-12-241-1/+1
|
* Normalized stripTopLevelTags to be consistant regardless of any whitespace. ↵Waylan Limberg2008-12-102-2/+5
| | | | For example, this would allow an extension to remove/replace 'Prettify' treeprocessor with something that added more or less whitespace without adverse effects.
* One more tweak to extension loading.Waylan Limberg2008-12-081-0/+1
|
* Revert "foo"Waylan Limberg2008-12-081-1/+0
| | | | This reverts commit b443efad9ae25f8f8ab421907d71c2b87e3b095a.
* fooWaylan Limberg2008-12-081-0/+1
|
* A few more tweaks to extension loading. We don't test trying to load ↵Waylan Limberg2008-12-081-9/+6
| | | | non-existant or broken extensions often enough. This should handle things better.
* Fixed attribute creation to remove newlines and associated misc/uche test. ↵Waylan Limberg2008-12-081-1/+1
| | | | Apparently differant versions of ElementTree encode line breaks in attributes differantly. Therefore, we just remove any such linebreaks as they are insignificant anyway.
* Refactoring test and getting logging to work properly when etree fails to load.Yuri Takhteyev2008-12-073-8/+8
|
* Different way of importing htmlentitydefs for python 3.0 and disabling diff ↵Yuri Takhteyev2008-12-041-1/+5
| | | | | | output in test-markdown.py for the same.
* Breaking up the import line to help 2to3 convert it.Yuri Takhteyev2008-12-041-1/+4
|
* Getting rid of has_key for compatibility with python3k.Yuri Takhteyev2008-12-044-5/+5
|
* Fixed rss extension (I think). It throws away any paragraphs before first ↵Waylan Limberg2008-11-231-14/+10
| | | | header, but I think that's what is was trying to do (and failing loadly) before.
* Updated imagelinks extension for recent package refactor.Waylan Limberg2008-11-221-13/+13
|
* Added definition lists to extra extension.Waylan Limberg2008-11-221-6/+3
|
* Updated rss extension for package refactor. However, is is still failing if ↵Waylan Limberg2008-11-221-2/+2
| | | | a paragraph comes before the first header in source. There are no tests or documentation and I've never used it so I'm not sure what it should be doing. Leaving it as is for now.
* Updated fenced_code extension for package refactor.Waylan Limberg2008-11-221-1/+1
|
* Fixed minor typo in each of previous two commits.Waylan Limberg2008-11-222-2/+2
|
* Updated definition list extension to work with new block parser.Waylan Limberg2008-11-221-169/+67
|
* Made a few minor tweaks to list blockprocessors to make subclassing easier ↵Waylan Limberg2008-11-221-8/+15
| | | | without rewriting the whole thing.
* Updated headerid extension for recent refactors (both BlockParser and package).Waylan Limberg2008-11-201-80/+100
|
* Updated meta extension for new refactor.Waylan Limberg2008-11-201-1/+1
|
* Updated abbr extension for new refactor.Waylan Limberg2008-11-201-3/+3
|
* Updated toc extension for new refactor.Waylan Limberg2008-11-201-5/+5
|