aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions
Commit message (Collapse)AuthorAgeFilesLines
* 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