aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added html_tidy extension.Waylan Limberg2009-01-271-0/+62
|
* Fixed blockquote test to match previous commit. No space after > now is a ↵Waylan Limberg2009-01-271-3/+5
| | | | blockquote.
* 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.
* Check for dependencies for the CodeHilite extension before running it's ↵Waylan Limberg2008-12-081-2/+9
| | | | tests - avoiding known failures. Perhaps this should be a builtin feature of the tester, but this hack will do for now.
* Fixed attribute creation to remove newlines and associated misc/uche test. ↵Waylan Limberg2008-12-082-3/+2
| | | | Apparently differant versions of ElementTree encode line breaks in attributes differantly. Therefore, we just remove any such linebreaks as they are insignificant anyway.
* Fixed para-with-hr test. The code was working correctly, but the test was wrong.Waylan Limberg2008-12-071-2/+3
|
* Fixed imports so logging works in commandline script.Waylan Limberg2008-12-071-3/+5
|
* Adding para-with-hr test. (Broken at the moment.)Yuri Takhteyev2008-12-072-0/+6
|
* Refactoring test and getting logging to work properly when etree fails to load.Yuri Takhteyev2008-12-075-169/+125
|
* Different way of importing htmlentitydefs for python 3.0 and disabling diff ↵Yuri Takhteyev2008-12-042-3/+9
| | | | | | 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.
* Removed old scripts.Waylan Limberg2008-11-222-492/+0
|
* Updated setup.py and MANIFEST for recent package refactor.Waylan Limberg2008-11-223-25/+8
|
* 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-222-170/+68
|
* 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 regresion tests for recent refactors (both package and BlockParser).Waylan Limberg2008-11-201-23/+57
|
* 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
|
* Updated wikilinks extension for new refactor.Waylan Limberg2008-11-201-3/+3
|
* Updated codehilite extension for new refactor.Waylan Limberg2008-11-201-1/+1
|
* Updated footnotes extension for new refactor.Waylan Limberg2008-11-201-6/+6
|
* Updated tables extension for refactor.Waylan Limberg2008-11-201-3/+3
|
* Moved markdown_extensions/ to markdown/extensions. Markdown is now one ↵Waylan Limberg2008-11-2016-1/+1
| | | | package instead of two.
* Cleaned up recent refactor into a package from a single file.Waylan Limberg2008-11-204-92/+113
|
* Fixed BlockParser to parse code blocks nested in list items and added a ↵Waylan Limberg2008-11-184-0/+27
| | | | test. Somehow we never had a test for that before. Also reset markdown.py to be executable again.
* More refactoring.Yuri Takhteyev2008-11-187-325/+369
|
* Attempting a refactoring, breaking markdown into multiple files.Yuri Takhteyev2008-11-178-2249/+2282
|
* Corrected various spelling, grammar and formatting errors in ↵Waylan Limberg2008-11-141-50/+84
| | | | docs/writing_extensions.txt.
* Updated docs/writing_extensions.txt to include docs for the new core ↵Waylan Limberg2008-11-141-66/+128
| | | | BlockParser.
* disable def_list tests until fixed.Waylan Limberg2008-11-131-1/+1
|
* Fixed a few bugs in the legacy extension so that it actually works. I don't ↵Waylan Limberg2008-11-131-7/+6
| | | | expect to continue supporting this. But it's here for comparison for now.
* Fixed a bug in loadextension where a nonexistant extention would crash ↵Waylan Limberg2008-11-131-11/+8
| | | | rather than generate the appropriate error message and continue.
* Fixed footnote extension to work with new core BlockParser and updated tests ↵Waylan Limberg2008-11-133-11/+66
| | | | which had a few insignificant differances in whitespace.