aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Combined the TextPreprocessors and Preprocessors into Preprocessors. Updated ↵Waylan Limberg2008-10-203-66/+13
| | | | extensions and docs as well.
* Cleaned up some commented code from previous commit and added Jack Miller to ↵Waylan Limberg2008-10-192-15/+1
| | | | docs/AUTHORS for his toc extension.
* Made InlineProcessor a TreeProcessor. Now an extension can manipulate the ↵Waylan Limberg2008-10-192-298/+294
| | | | tree either before or after InlinePatterns are run. Updated docs as well. This change should not affect existing extensions.
* Changed Postprocessors to Treeprocessors and TextPostProcessors to ↵Waylan Limberg2008-10-197-59/+58
| | | | Postprocessors. These names more acturately depict what things do. Also updated the extensions and docs to match.
* Updated docs/writing_extensions.txt to include documentation about Treaps. ↵Waylan Limberg2008-10-191-5/+45
| | | | This is a draft and subject to change.
* Updated docs/writing_extensions.txt to include documentation about ↵Waylan Limberg2008-10-191-1/+43
| | | | MarkdownParser.
* Merge branch 'master' of git@gitorious.org:python-markdown/mainlineWaylan Limberg2008-10-193-0/+702
|\
| * Completing the test case for the toc extension.Yuri Takhteyev2008-10-183-0/+702
| |
* | Fixed Ticket 19. Corrected error regarding encoding in docs. Thanks ↵Waylan Limberg2008-10-191-3/+2
|/ | | | gjhiggins for report.
* Adding Jack Miller's TOC extension and a test file for it.Yuri Takhteyev2008-10-172-0/+976
| | | | (I can't get it to work, though.)
* Merge branch 'master' of git://gitorious.org/python-markdown/mainlineArtem Yunusov2008-10-166-238/+290
|\
| * Made some corrections and edits to docs/writing_extensions.txt. Still need ↵Waylan Limberg2008-10-151-64/+69
| | | | | | | | to document Treap() and MarkdownParser().
| * Updated INSTALL with corrections and additions.Waylan Limberg2008-10-151-12/+26
| |
| * Added docs for command line and using as a module.Waylan Limberg2008-10-152-0/+180
| |
| * Updated README to ackowledge other recently added docs and not repeat them.Waylan Limberg2008-10-152-162/+15
| |
* | Made third argument of Treap.add function optional.Artem Yunusov2008-10-161-46/+30
|/
* Added Ben Wilson to AUTHORS for his work on Treap.Waylan Limberg2008-10-151-0/+1
|
* Cleaned up regression test suite code.Waylan Limberg2008-10-141-14/+16
|
* Increased verbosity of regression test output.Waylan Limberg2008-10-141-1/+1
|
* Added extension doctests to the regression tests and fixed a few broken ↵Waylan Limberg2008-10-143-9/+24
| | | | doctests in CodeHilite and WikiLinks extentions.
* Added regression tests to make sure we don't break any APIs in the future. ↵Waylan Limberg2008-10-141-0/+140
| | | | It's likely more tests need to be added.
* Fixed minor typo in previous commit on ImageLinks extension.Waylan Limberg2008-10-131-1/+1
|
* Updated ImageLinks extension to recent refactor (I think, there's no tests).Waylan Limberg2008-10-131-17/+1
|
* Updated the Fenced_Code extension to recent refactor.Waylan Limberg2008-10-131-6/+17
|
* Updated meta-data extension to recent refactor.Waylan Limberg2008-10-131-24/+33
|
* Updated HeaderId extension to recent refactor. Using the quick and dirty ↵Waylan Limberg2008-10-131-11/+9
| | | | monkeypatch - it probably should subclass MarkdownParser.
* Fixed the url sanitation after recent refactor. All tests pass now.Waylan Limberg2008-10-131-5/+6
|
* Cleaned up Codehilite docstring for 2.0.Waylan Limberg2008-10-131-8/+6
|
* Modified CodeHilite extension to be a Postprocessor that takes advantage of ↵Waylan Limberg2008-10-131-31/+32
| | | | some ElementTree features. Much cleaner than the old monkeypatching.
* Updated CodeHilite extension to work with recent refactor. Feels a little ↵Waylan Limberg2008-10-131-4/+4
| | | | hacky though.
* Fixing the footnotes extension and corresponding fixes to markdown.py.Yuri Takhteyev2008-10-132-56/+29
|
* Checking in treap_test.py in lieu of documentation.Yuri Takhteyev2008-10-131-0/+50
|
* Fixed command-line handling.Yuri Takhteyev2008-10-131-8/+5
|
* Incorporated Ben Wilson's Treap implementation.Yuri Takhteyev2008-10-123-129/+258
| | | | | | | Pre-processors, post-processors, patterns, etc. are now all stored in Treaps. We can then insert items between them with code like this: markdown.inlinePatterns.add("foo", FooPattern(), "<strong")
* Made private methods actually private (to keep us honest) and removedYuri Takhteyev2008-10-121-453/+427
| | | | unnecessary whitespace.
* Refactored markdown tree traversing logic into a separate classYuri Takhteyev2008-10-121-202/+189
| | | | (InlineProcessor).
* More cleanup. Refactored all the core parsing logic into a separateYuri Takhteyev2008-10-121-598/+620
| | | | class: MarkdownParser.
* More cleanup.Yuri Takhteyev2008-10-071-68/+34
|
* All sorts of cleanup.Yuri Takhteyev2008-10-072-397/+292
| | | | | | The bigger changes include getting rid of old BOM-removal logic and getting rid of BlockGuru. Most of the changes are just re-ordering of functions, removal of whitespace, adding comments, etc.
* Changing logging per Michael Bayer's suggestion.Yuri Takhteyev2008-10-061-55/+58
|
* Checking if logger level is set before changing it.Yuri Takhteyev2008-10-061-2/+3
|
* [Wikilinks] Restricted regex to only match [[bracketed links]] with safe ↵Waylan Limberg2008-09-201-2/+1
| | | | chars: 'A-Za-z0-9_-' and space.
* Removed old 'wikilink' extension.Waylan Limberg2008-09-204-155/+1
|
* Added tests for new '[[wikilinks]]' extension.Waylan Limberg2008-09-202-0/+16
|
* Added 'wikilinks' (note the 's') extension to replace the 'wikilink' ↵Waylan Limberg2008-09-201-0/+139
| | | | extension. As there are some problems with 'CamelCase' links, the new extension uses '[[bracketed links]]'.
* [CodeHilite] Modified Sheband regex to match against language aliases ↵Waylan Limberg2008-09-181-4/+2
| | | | supported by Pygments which contain + or -. Thanks David A. Krauth.
* [CodeHilite] Fixed a little bug with the fallback when pygments is not ↵Waylan Limberg2008-09-171-1/+1
| | | | available. Thanks Artiom Diomin.
* [Headerid] Removed some legecay code from headerid extension and fixed doctests.Waylan Limberg2008-09-041-5/+4
|
* Fixed stupid mistake in previous commit.Waylan Limberg2008-09-041-1/+1
|
* Moved prettifyETree into a Postprocessor and added code to append all '<br ↵Waylan Limberg2008-09-043-31/+52
| | | | />' tags with a linebreak. Also fixed a minor bug were the '<br />' tags contained 2 spaces instead of one before the slash (i.e. '<br />'). Note that by moving to a Postprocessor, anyone can override with their own code which does what they want (i.e. add indentation) with the extension api.