aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions
Commit message (Collapse)AuthorAgeFilesLines
* 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 footnote extension to work with new core BlockParser and updated tests ↵Waylan Limberg2008-11-131-5/+54
| | | | which had a few insignificant differances in whitespace.
* Replaced old core parser with new BlockParser and copied old core into ↵Waylan Limberg2008-11-131-0/+469
| | | | 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-051-0/+95
|
* Fixed a silly bug in Definition List extension. Also added tests. As this ↵Waylan Limberg2008-11-051-2/+2
| | | | 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-041-5/+8
| | | | when appropriate.
* Added support to Definition List extension for blank lines between terms and ↵Waylan Limberg2008-11-041-0/+7
| | | | 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-041-0/+198
| | | | 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.
* 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.
* 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.
* Fixed Footnote extension to work with OrderedDict. Also cleaned up a bunch ↵Waylan Limberg2008-10-291-39/+40
| | | | of whitespace and comments issues.
* 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-281-1/+1
| | | | All tests pass. Still needs documentation.
* Combined the TextPreprocessors and Preprocessors into Preprocessors. Updated ↵Waylan Limberg2008-10-201-4/+5
| | | | extensions and docs as well.
* Changed Postprocessors to Treeprocessors and TextPostProcessors to ↵Waylan Limberg2008-10-195-18/+18
| | | | Postprocessors. These names more acturately depict what things do. Also updated the extensions and docs to match.
* Adding Jack Miller's TOC extension and a test file for it.Yuri Takhteyev2008-10-171-0/+127
| | | | (I can't get it to work, though.)
* Added extension doctests to the regression tests and fixed a few broken ↵Waylan Limberg2008-10-142-6/+6
| | | | doctests in CodeHilite and WikiLinks extentions.
* 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.
* 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-131-49/+22
|
* Incorporated Ben Wilson's Treap implementation.Yuri Takhteyev2008-10-122-6/+5
| | | | | | | 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")
* All sorts of cleanup.Yuri Takhteyev2008-10-071-1/+1
| | | | | | 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.
* [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-201-139/+0
|
* 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
|
* [CodeHilite] Fixed Ticket 16. Added a 'css_class' option to codehilite ↵Waylan Limberg2008-09-031-11/+22
| | | | extension and cleaned up whitespace in code. Thanks Kjell Magne Fauske for the initial patch.
* Fixed ticket 12. Insert code placeholder into a wrapping ET element rather ↵Waylan Limberg2008-08-261-4/+3
| | | | 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.
* Fixed wikilink ext to use an AtomicString for label. There's still a problem ↵Waylan Limberg2008-08-221-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.
* Fixed some weirdness with the CodeHilite ext and the fallback for when ↵Waylan Limberg2008-08-221-3/+2
| | | | pygments is not available. Not sure why, but the no-line-numbers option was commented out with a bug in it.
* Got rid of inline sections.Artem Yunusov2008-08-211-3/+2
|
* Whoops - removing some experimental code from headerid ext which was ↵Waylan Limberg2008-08-111-32/+5
| | | | unintentionaly commited.
* renamed extension module and set import to extension module first, then ↵Waylan Limberg2008-08-1111-0/+1399
mdx_filename