Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Updated HeaderId extension to recent refactor. Using the quick and dirty ↵ | Waylan Limberg | 2008-10-13 | 1 | -11/+9 | |
| | | | | monkeypatch - it probably should subclass MarkdownParser. | |||||
* | Fixed the url sanitation after recent refactor. All tests pass now. | Waylan Limberg | 2008-10-13 | 1 | -5/+6 | |
| | ||||||
* | Cleaned up Codehilite docstring for 2.0. | Waylan Limberg | 2008-10-13 | 1 | -8/+6 | |
| | ||||||
* | Modified CodeHilite extension to be a Postprocessor that takes advantage of ↵ | Waylan Limberg | 2008-10-13 | 1 | -31/+32 | |
| | | | | some ElementTree features. Much cleaner than the old monkeypatching. | |||||
* | Updated CodeHilite extension to work with recent refactor. Feels a little ↵ | Waylan Limberg | 2008-10-13 | 1 | -4/+4 | |
| | | | | hacky though. | |||||
* | Fixing the footnotes extension and corresponding fixes to markdown.py. | Yuri Takhteyev | 2008-10-13 | 2 | -56/+29 | |
| | ||||||
* | Checking in treap_test.py in lieu of documentation. | Yuri Takhteyev | 2008-10-13 | 1 | -0/+50 | |
| | ||||||
* | Fixed command-line handling. | Yuri Takhteyev | 2008-10-13 | 1 | -8/+5 | |
| | ||||||
* | Incorporated Ben Wilson's Treap implementation. | Yuri Takhteyev | 2008-10-12 | 3 | -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 removed | Yuri Takhteyev | 2008-10-12 | 1 | -453/+427 | |
| | | | | unnecessary whitespace. | |||||
* | Refactored markdown tree traversing logic into a separate class | Yuri Takhteyev | 2008-10-12 | 1 | -202/+189 | |
| | | | | (InlineProcessor). | |||||
* | More cleanup. Refactored all the core parsing logic into a separate | Yuri Takhteyev | 2008-10-12 | 1 | -598/+620 | |
| | | | | class: MarkdownParser. | |||||
* | More cleanup. | Yuri Takhteyev | 2008-10-07 | 1 | -68/+34 | |
| | ||||||
* | All sorts of cleanup. | Yuri Takhteyev | 2008-10-07 | 2 | -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 Takhteyev | 2008-10-06 | 1 | -55/+58 | |
| | ||||||
* | Checking if logger level is set before changing it. | Yuri Takhteyev | 2008-10-06 | 1 | -2/+3 | |
| | ||||||
* | [Wikilinks] Restricted regex to only match [[bracketed links]] with safe ↵ | Waylan Limberg | 2008-09-20 | 1 | -2/+1 | |
| | | | | chars: 'A-Za-z0-9_-' and space. | |||||
* | Removed old 'wikilink' extension. | Waylan Limberg | 2008-09-20 | 4 | -155/+1 | |
| | ||||||
* | Added tests for new '[[wikilinks]]' extension. | Waylan Limberg | 2008-09-20 | 2 | -0/+16 | |
| | ||||||
* | Added 'wikilinks' (note the 's') extension to replace the 'wikilink' ↵ | Waylan Limberg | 2008-09-20 | 1 | -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 Limberg | 2008-09-18 | 1 | -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 Limberg | 2008-09-17 | 1 | -1/+1 | |
| | | | | available. Thanks Artiom Diomin. | |||||
* | [Headerid] Removed some legecay code from headerid extension and fixed doctests. | Waylan Limberg | 2008-09-04 | 1 | -5/+4 | |
| | ||||||
* | Fixed stupid mistake in previous commit. | Waylan Limberg | 2008-09-04 | 1 | -1/+1 | |
| | ||||||
* | Moved prettifyETree into a Postprocessor and added code to append all '<br ↵ | Waylan Limberg | 2008-09-04 | 3 | -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. | |||||
* | [CodeHilite] Fixed Ticket 16. Added a 'css_class' option to codehilite ↵ | Waylan Limberg | 2008-09-03 | 2 | -11/+23 | |
| | | | | extension and cleaned up whitespace in code. Thanks Kjell Magne Fauske for the initial patch. | |||||
* | Merge commit 'HEAD'; branch 'placeholder' | Waylan Limberg | 2008-09-03 | 0 | -0/+0 | |
| | ||||||
* | Refactor inline placeholders and use strings of random chars for placeholders. | Waylan Limberg | 2008-09-03 | 1 | -19/+12 | |
| | ||||||
* | Replaced indentation with linebreaks only. At least its more consistant - ↵ | Waylan Limberg | 2008-09-03 | 56 | -481/+246 | |
| | | | | and it better matches other markdown implementations. Also updated tests. | |||||
* | Fixed ticket 12. Insert code placeholder into a wrapping ET element rather ↵ | Waylan Limberg | 2008-08-26 | 2 | -11/+7 | |
| | | | | than parent_elem.text as text will alway be at beginning of doc. The wrapping element is a <p> tag as, later, when the rawhtml is inserted, markdown will first check for the placeholder inside a <p> tag, and if the placeholder is the *only* content of the <p> tag, replace the entire <p> tag - not just the placeholder. Perhaps a little hacky, but this is how markdown works internally anyway. | |||||
* | Moving Tests to Tests_2007. | Yuri Takhteyev | 2008-08-26 | 46 | -0/+0 | |
| | ||||||
* | Adding old MarkdownTest.pl tests. | Yuri Takhteyev | 2008-08-26 | 143 | -0/+11767 | |
| | ||||||
* | Comments updates. | splyer | 2008-08-24 | 1 | -28/+7 | |
| | ||||||
* | more_comments test works fine now. | Artem Yunusov | 2008-08-24 | 1 | -1/+2 | |
| | ||||||
* | isBlockLevel function and HtmlBlockPreprocessor changed. more_comments test ↵ | Artem Yunusov | 2008-08-24 | 1 | -10/+11 | |
| | | | | works fine now. | |||||
* | Fixed memory measure for MacOS. | Artem Yunusov | 2008-08-24 | 1 | -2/+5 | |
| | ||||||
* | Oops, forgot to add mismatched-tags test. | Artem Yunusov | 2008-08-24 | 2 | -1/+18 | |
| | ||||||
* | Fixed some bugs concerning HTML, test extended and works. | Artem Yunusov | 2008-08-24 | 1 | -5/+23 | |
| | ||||||
* | Added final results to test script. | Artem Yunusov | 2008-08-24 | 1 | -1/+11 | |
| | ||||||
* | Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. Now | Waylan Limberg | 2008-08-22 | 18 | -619/+337 | |
| | | | | | | | | | whitespace is preserved in codeblocks. As a side-benefit, this also solved the issue with the safe-mode tests failing. All tests incorectly altered at ElementTree conversion have been corrected for this bug. Any remaining tests that fail are unrelated to this. | |||||
* | Improved past commit - treated safe raw html properly. | Waylan Limberg | 2008-08-22 | 1 | -2/+1 | |
| | ||||||
* | Added special case for raw html in safe-mode. The escaped/replaced html is ↵ | Waylan Limberg | 2008-08-22 | 1 | -2/+3 | |
| | | | | now wrapped in <p> tags so we have valid html. | |||||
* | Merge branch 'master' of git@gitorious.org:python-markdown/mainline | Waylan Limberg | 2008-08-22 | 1 | -19/+7 | |
|\ | ||||||
| * | Added check for AtomicStrinc instead of ['code', 'pre'] check, deleted some ↵ | Artem Yunusov | 2008-08-23 | 1 | -19/+7 | |
| | | | | | | | | commented code lines. | |||||
* | | Fixed Ticket 13. Raw block-level html are no longer being inserted into <p> ↵ | Waylan Limberg | 2008-08-22 | 17 | -95/+141 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | tags. Also edited numerious tests that were expecting wrong output - they now expect correct output. Note that a few **still fail** because the output before moving to ELementTree wasn't correct either. So I set the expected output to what I think it should be so we don't forget about it later. I should also note that the 'safe-mode' tests are failing. However, I believe the current expected output is correct as it is valid html. Interestingly, these tests passed prior to this fix. We'll need to special case safe-mode here. | |||||
* | | More updated to wikilink tests to better match ElementTree output. *Note* ↵ | Waylan Limberg | 2008-08-22 | 1 | -2/+4 | |
|/ | | | | test still failing due to other issues. | |||||
* | Fixed wikilink ext to use an AtomicString for label. There's still a problem ↵ | Waylan Limberg | 2008-08-22 | 1 | -3/+2 | |
| | | | | with the inline stuff though. As far as I can tell it is not related to the ext directly but in markdown itself. | |||||
* | We should be running all the available extension tests. Enabled now - except ↵ | Waylan Limberg | 2008-08-22 | 1 | -1/+2 | |
| | | | | for footnotes as the random links to the footnotes are never the same so it will never pass. | |||||
* | Improved wikilink tests. **Note** the test currently fails. We have bugs ↵ | Waylan Limberg | 2008-08-22 | 2 | -0/+7 | |
| | | | | that need fixing. | |||||
* | Moved some hanging test files around. | Waylan Limberg | 2008-08-22 | 2 | -2/+0 | |
| |