Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed error handling to work when the logger is not being used. | Waylan Limberg | 2009-01-28 | 1 | -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 Abrahamsen | 2009-01-28 | 6 | -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 Limberg | 2009-01-27 | 1 | -0/+62 |
| | |||||
* | Fixed blockquote test to match previous commit. No space after > now is a ↵ | Waylan Limberg | 2009-01-27 | 1 | -3/+5 |
| | | | | blockquote. | ||||
* | Making the space after angle brackets optional in blockquotes. | Yuri Takhteyev | 2008-12-24 | 1 | -1/+1 |
| | |||||
* | Normalized stripTopLevelTags to be consistant regardless of any whitespace. ↵ | Waylan Limberg | 2008-12-10 | 2 | -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 Limberg | 2008-12-08 | 1 | -0/+1 |
| | |||||
* | Revert "foo" | Waylan Limberg | 2008-12-08 | 1 | -1/+0 |
| | | | | This reverts commit b443efad9ae25f8f8ab421907d71c2b87e3b095a. | ||||
* | foo | Waylan Limberg | 2008-12-08 | 1 | -0/+1 |
| | |||||
* | A few more tweaks to extension loading. We don't test trying to load ↵ | Waylan Limberg | 2008-12-08 | 1 | -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 Limberg | 2008-12-08 | 1 | -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 Limberg | 2008-12-08 | 2 | -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 Limberg | 2008-12-07 | 1 | -2/+3 |
| | |||||
* | Fixed imports so logging works in commandline script. | Waylan Limberg | 2008-12-07 | 1 | -3/+5 |
| | |||||
* | Adding para-with-hr test. (Broken at the moment.) | Yuri Takhteyev | 2008-12-07 | 2 | -0/+6 |
| | |||||
* | Refactoring test and getting logging to work properly when etree fails to load. | Yuri Takhteyev | 2008-12-07 | 5 | -169/+125 |
| | |||||
* | Different way of importing htmlentitydefs for python 3.0 and disabling diff ↵ | Yuri Takhteyev | 2008-12-04 | 2 | -3/+9 |
| | | | | | | output in test-markdown.py for the same. | ||||
* | Breaking up the import line to help 2to3 convert it. | Yuri Takhteyev | 2008-12-04 | 1 | -1/+4 |
| | |||||
* | Getting rid of has_key for compatibility with python3k. | Yuri Takhteyev | 2008-12-04 | 4 | -5/+5 |
| | |||||
* | Fixed rss extension (I think). It throws away any paragraphs before first ↵ | Waylan Limberg | 2008-11-23 | 1 | -14/+10 |
| | | | | header, but I think that's what is was trying to do (and failing loadly) before. | ||||
* | Removed old scripts. | Waylan Limberg | 2008-11-22 | 2 | -492/+0 |
| | |||||
* | Updated setup.py and MANIFEST for recent package refactor. | Waylan Limberg | 2008-11-22 | 3 | -25/+8 |
| | |||||
* | Updated imagelinks extension for recent package refactor. | Waylan Limberg | 2008-11-22 | 1 | -13/+13 |
| | |||||
* | Added definition lists to extra extension. | Waylan Limberg | 2008-11-22 | 1 | -6/+3 |
| | |||||
* | Updated rss extension for package refactor. However, is is still failing if ↵ | Waylan Limberg | 2008-11-22 | 1 | -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 Limberg | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Fixed minor typo in each of previous two commits. | Waylan Limberg | 2008-11-22 | 2 | -2/+2 |
| | |||||
* | Updated definition list extension to work with new block parser. | Waylan Limberg | 2008-11-22 | 2 | -170/+68 |
| | |||||
* | Made a few minor tweaks to list blockprocessors to make subclassing easier ↵ | Waylan Limberg | 2008-11-22 | 1 | -8/+15 |
| | | | | without rewriting the whole thing. | ||||
* | Updated headerid extension for recent refactors (both BlockParser and package). | Waylan Limberg | 2008-11-20 | 1 | -80/+100 |
| | |||||
* | Updated regresion tests for recent refactors (both package and BlockParser). | Waylan Limberg | 2008-11-20 | 1 | -23/+57 |
| | |||||
* | Updated meta extension for new refactor. | Waylan Limberg | 2008-11-20 | 1 | -1/+1 |
| | |||||
* | Updated abbr extension for new refactor. | Waylan Limberg | 2008-11-20 | 1 | -3/+3 |
| | |||||
* | Updated toc extension for new refactor. | Waylan Limberg | 2008-11-20 | 1 | -5/+5 |
| | |||||
* | Updated wikilinks extension for new refactor. | Waylan Limberg | 2008-11-20 | 1 | -3/+3 |
| | |||||
* | Updated codehilite extension for new refactor. | Waylan Limberg | 2008-11-20 | 1 | -1/+1 |
| | |||||
* | Updated footnotes extension for new refactor. | Waylan Limberg | 2008-11-20 | 1 | -6/+6 |
| | |||||
* | Updated tables extension for refactor. | Waylan Limberg | 2008-11-20 | 1 | -3/+3 |
| | |||||
* | Moved markdown_extensions/ to markdown/extensions. Markdown is now one ↵ | Waylan Limberg | 2008-11-20 | 16 | -1/+1 |
| | | | | package instead of two. | ||||
* | Cleaned up recent refactor into a package from a single file. | Waylan Limberg | 2008-11-20 | 4 | -92/+113 |
| | |||||
* | Fixed BlockParser to parse code blocks nested in list items and added a ↵ | Waylan Limberg | 2008-11-18 | 4 | -0/+27 |
| | | | | test. Somehow we never had a test for that before. Also reset markdown.py to be executable again. | ||||
* | More refactoring. | Yuri Takhteyev | 2008-11-18 | 7 | -325/+369 |
| | |||||
* | Attempting a refactoring, breaking markdown into multiple files. | Yuri Takhteyev | 2008-11-17 | 8 | -2249/+2282 |
| | |||||
* | Corrected various spelling, grammar and formatting errors in ↵ | Waylan Limberg | 2008-11-14 | 1 | -50/+84 |
| | | | | docs/writing_extensions.txt. | ||||
* | Updated docs/writing_extensions.txt to include docs for the new core ↵ | Waylan Limberg | 2008-11-14 | 1 | -66/+128 |
| | | | | BlockParser. | ||||
* | disable def_list tests until fixed. | Waylan Limberg | 2008-11-13 | 1 | -1/+1 |
| | |||||
* | Fixed a few bugs in the legacy extension so that it actually works. I don't ↵ | Waylan Limberg | 2008-11-13 | 1 | -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 Limberg | 2008-11-13 | 1 | -11/+8 |
| | | | | rather than generate the appropriate error message and continue. | ||||
* | Fixed footnote extension to work with new core BlockParser and updated tests ↵ | Waylan Limberg | 2008-11-13 | 3 | -11/+66 |
| | | | | which had a few insignificant differances in whitespace. | ||||
* | Fixed BlockquoteProcessor to acknowledge blocks in which the blockquote ↵ | Waylan Limberg | 2008-11-13 | 3 | -7/+30 |
| | | | | starts after the first line. Also updated coresponding test as it had an error and added more detail. All core tests pass now. On to extensions. |