aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixed BlockquoteProcessor to acknowledge blocks in which the blockquote ↵Waylan Limberg2008-11-133-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.
* Replaced all uses of 4 spaces with TAB_LENGTH in BlockParser.Waylan Limberg2008-11-131-8/+8
|
* Made significant improvments to comments and docstrings in BlockParser. Also ↵Waylan Limberg2008-11-131-29/+186
| | | | renamed a few things to no longer use abbreviations.
* Fixed whitespace only line clearing and updated another test to match pl and ↵Waylan Limberg2008-11-132-12/+8
| | | | php output of lists. Only one test failing from core parser refactor now.
* Updated test as core parser now matched pl and php behavior in lists.Waylan Limberg2008-11-131-6/+4
|
* Fixed core parser to differentiate between indented secondary lines of a ↵Waylan Limberg2008-11-131-2/+3
| | | | list item that are additional lines of the first p and child list items.
* Refactored core parser state to work with nested states.Waylan Limberg2008-11-131-9/+23
|
* Fixed a streange anomily in whitespace a start of p and li tags. Mostly odd ↵Waylan Limberg2008-11-137-8/+8
| | | | tests corrected.
* Fixed funky-list (a ul with child ol items is still an ul and visa-versa). ↵Waylan Limberg2008-11-131-3/+4
| | | | Weird, but it matchs pl and php implementations.
* Fixed various issues with the core parser - mostly whitespace related and ↵Waylan Limberg2008-11-133-36/+86
| | | | updated a few tests that weren't quite right - that is they now better match pl or php implementations.
* Replaced old core parser with new BlockParser and copied old core into ↵Waylan Limberg2008-11-132-401/+709
| | | | extension.
* Fixed Definition List extension to use a regex rather than a strict string ↵Waylan Limberg2008-11-051-46/+44
| | | | match. Whitespcae is now mor eflexable and better matches other implementations. Also refactored all definition specific code into one method.
* Added Abbreviation Extension. Tests includedWaylan Limberg2008-11-054-0/+113
|
* Fixed InlineProcessor to use the inlinePatterns on the Markdown instance ↵Waylan Limberg2008-11-051-6/+4
| | | | directly rather than a copied list of values set at init.
* Fixed a silly bug in Definition List extension. Also added tests. As this ↵Waylan Limberg2008-11-053-2/+1618
| | | | extension modifies the core, we should test that all core parseing still works properly. Thanks for the report John Szakmeister.
* Fixed Definition List extension to not wrap the content of defs in p tags ↵Waylan Limberg2008-11-042-14/+11
| | | | when appropriate.
* Added support to Definition List extension for blank lines between terms and ↵Waylan Limberg2008-11-043-0/+48
| | | | first def. Includes tests. That was easier than expected.
* Added Definition List extension. This is a first draft. A few more advanced ↵Waylan Limberg2008-11-044-0/+271
| | | | features in PHP's implementation don't work yet. Most notably a blank line between a term and its first definition will break things. See the included test for what works.
* Added definition list items (dt & dd) to html block elements.Waylan Limberg2008-11-041-1/+1
|
* Set footnote extension's parser to Markdown's instance of the parser rather ↵Waylan Limberg2008-10-291-16/+26
| | | | than giving it its own. Now footnote defs will parse the same (if another extension modifies the parser). Also updated and added doc strings.
* Add another test for th efootnote extension that tests named (rather than ↵Waylan Limberg2008-10-292-0/+29
| | | | consecutively numbered) footnote markers.
* Updated and activated footnotes extension tests for refactor in previous commit.Waylan Limberg2008-10-292-42/+27
|
* Refactored footnotes extension. Output not matches PHP Markdown Extra's ↵Waylan Limberg2008-10-291-42/+26
| | | | output except that we still include a title on the backlink. Uses the new markdown.OrderedDict internally.
* Added documentation for OrderedDict.Waylan Limberg2008-10-291-33/+84
|
* More cleanup. Not sure why some executables didn't have shebang lines. They ↵Waylan Limberg2008-10-292-0/+4
| | | | do now.
* Added a more thorough test of nested inline markup. Thanks John Szakmeister.John Szakmeister2008-10-293-0/+31
|
* Fixed Footnote extension to work with OrderedDict. Also cleaned up a bunch ↵Waylan Limberg2008-10-291-39/+40
| | | | of whitespace and comments issues.
* Cleaning house. Actually have all executables be executable and stop Vim's ↵Waylan Limberg2008-10-283-0/+1
| | | | .swp files from showing up in git status.
* Updated toc extension to ensure unique header ids and only set the id on the ↵Jack Miller2008-10-281-6/+16
| | | | header, not the anchor. Thanks Jack Miller.
* Replaced Treap with OrderedDict. Updated regression_tests and extensions. ↵Waylan Limberg2008-10-284-276/+269
| | | | All tests pass. Still needs documentation.
* Missed a reference to textpreprocessors in docs on last commit.Waylan Limberg2008-10-201-1/+0
|
* 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.