aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Extension.getConfigs returns a dict and is used by the extensions that use ↵Waylan Limberg2011-05-046-32/+26
| | | | configs. No more self.config['name'][0] weirdness anymore.
* Minor improvement to Extension settings API. Extension.getConfig now accepts ↵Waylan Limberg2011-04-071-3/+7
| | | | a 'default' keyword and added Extension.getConfigs which returns a list of tuples of all settings without the descriptions.
* Factored out the importing of pygments in CodeHilite Extension so it doesn;t ↵Waylan Limberg2011-04-071-27/+24
| | | | happen every time a block is highlighted. Not sure why I didn't do it this way to begin with.
* Cleaned up CodeHilite extension. When pygments is not available provide ↵Waylan Limberg2011-04-071-25/+12
| | | | simpler markup which should allow for the use of JavaScript Highlighting libraries. In other words, no pygments like <div> and no <ol> for line numbering. Just a <pre><code> block with classes assinged to them. If people want fancier stuff, they can use JavaScript or create their own extension.
* Made lazy ordered lists a settable option. The previous behavior (on) is the ↵Waylan Limberg2011-04-297-14/+48
| | | | default.
* The Testing Framework will now pass any non-reserved args set in test.cfg ↵Waylan Limberg2011-04-293-10/+11
| | | | files as keyword arguments to Markdown for a given syntax test. As Markdown ignores unknown args, this should be safe and will allow testing of any newly added keywords without additional modification of the testing framework.
* Merge commit 'refs/merge-requests/13' of ↵Waylan Limberg2011-04-282-3/+18
|\ | | | | | | git://gitorious.org/python-markdown/mainline into merge-requests/13
| * fixed startindex reset in multiple ulRohan Jain2011-04-052-8/+6
| | | | | | | | | | Now the startindex would be reset if continual unordered lists are present (tests are passed).
| * add new list item commentRohan Jain2011-04-031-0/+1
| |
| * custom index support for ol tagRohan Jain2011-04-031-1/+17
| | | | | | | | | | | | | | A ol tag with custom start index can be defined by using a different integer as the first item numbering. Search for `3. Bird` on: http://daringfireball.net/projects/markdown/syntax
* | Clean up merge of loggingWaylan Limberg2011-04-288-98/+42
|\ \
| * | Updated bug tracker to point to Github account.Waylan Limberg2011-04-281-1/+1
| | |
| * | Correctly specify minimum version of cElementTree. Fixes #5.Waylan Limberg2011-04-281-2/+2
| | |
| * | Corrected behavior of headerid extension to match default behavior when ↵Waylan Limberg2011-04-281-1/+4
| | | | | | | | | | | | "Weve got a problem header". We log a warning - not raise an exception.
| * | Restored custom error message on UnicodeDecodeError. Otherwise we will be ↵Waylan Limberg2011-04-281-2/+6
| | | | | | | | | | | | getting bug reports all the time.
| * | Update tests for logging changes. No more message function.Waylan Limberg2011-04-281-21/+6
| | |
| * | fix import loop when importing loggerCraig de Stigter2011-04-183-4/+7
| | |
| * | sane logging. remove sys.exit() calls (libraries should never ever call ↵Craig de Stigter2011-04-187-81/+30
| |/ | | | | | | sys.exit()) and raise appropriate exceptions instead. backwards incompatible insofar as custom extensions may need tweaks if they're using old markdown logging (but they shouldn't, it was gross)
* | Updated bug tracker to point to Github account.Waylan Limberg2011-04-271-1/+1
| |
* | Correctly specify minimum version of cElementTree. Fixes #5.Waylan Limberg2011-04-251-2/+2
|/
* Documented concern raised in Ticket 85. Added a warning that enabling ↵Waylan Limberg2011-03-091-0/+8
| | | | safe_mode does not turn off attributes, so they should be turned off seperately.
* Merge commit 'refs/merge-requests/12' of ↵Waylan Limberg2011-02-241-1/+5
|\ | | | | | | http://git.gitorious.org/python-markdown/mainline into merge-requests/12
| * Added an alternative meta list syntax.David Chambers2011-02-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implicit syntax (existing): tag: Python Markdown Explicit syntax (new): tag: Python tag: Markdown These two examples are now equivalent. Previously, the latter would produce `{u'tag': [u'Markdown']}` rather than `{u'tag': [u'Python', u'Markdown']}`.
* | Merge commit 'refs/merge-requests/11' of ↵Waylan Limberg2011-01-231-2/+3
|\| | | | | | | git://gitorious.org/python-markdown/mainline into int
| * Made the HeaderId extension's word separator configurable to allow, forDavid Chambers2011-01-221-2/+3
| | | | | | | | example, hyphens to be used rather than underscores.
* | setup.py: Replaced file(.) with open(.) as Python 3 doesn't have file(.)Henri Wiechers2011-01-211-1/+1
|/
* Fixed line length of previous commit. Some of us still use (and prefer) text ↵Waylan Limberg2011-01-091-2/+2
| | | | editors on the console. Let's keep lines under 80 characters in length.
* Merge commit 'refs/merge-requests/9' of ↵Waylan Limberg2011-01-091-4/+8
|\ | | | | | | git://gitorious.org/python-markdown/mainline into int
| * Fixed setup.py to work with python 3.x (The imported markdown module in ↵Virgil Dupras2011-01-091-4/+8
| | | | | | | | build_docs would be the one that wasn't 2to3'ed, thus causing a syntax error).
* | Updated regular expression to accept periods in heading ids.David Chambers2011-01-091-1/+1
|/
* Merge branch 'master' of https://github.com/davidchambers/Python-Markdown ↵Waylan Limberg2010-12-121-0/+9
|\ | | | | | | into davidchambers
| * Added `return self` to instance methods without return values to facilitate ↵David Chambers2010-12-051-0/+9
| | | | | | | | chaining, e.g. `md.reset().convert(text)`.
* | Fixed a few inline issues found from running the currenlty skipped tests ↵Waylan Limberg2010-11-041-7/+9
| | | | | | | | from tests/pl/Tests_2007/. Namely, improved simple reference links and fixed a small issue with titles in links.
* | Skipping codehilite test as differant versions of pygments give slightly ↵Waylan Limberg2010-11-041-0/+2
|/ | | | differant output and I'm tired of seeing the test fail when there is no real problem.
* Fixed Ticket 74. AtomicStrings should now be ackowledged (and preserved) in ↵Waylan Limberg2010-11-042-1/+51
| | | | all instances. This was a real pain to debug, but an easy fix once I found it. Thanks to obs for the report.
* Cleaned up whitespace and linewrap issues in treeprocessorspy and fixed a ↵Waylan Limberg2010-11-011-15/+17
| | | | few typos in docs.
* Fixed previous two commits. cElementTree cannot use ElementTree nodes in the ↵Waylan Limberg2010-10-314-9/+13
| | | | tree, but it still uses ElementTree Comment assinged to a node's tag to test for Comment nodes. Also no longer considering Commet nodes to be block level.
* Improved previous commit. isBlockLevel is now more foolproof and will no ↵Waylan Limberg2010-10-292-1/+6
| | | | longer crash on other non-string ElemetTree tags (like processing instructions).
* Fixed Ticket 80. Added support for ElementTree Comments to be included by ↵Waylan Limberg2010-10-293-6/+48
| | | | third party extensions when using cElementTree.
* Added short reference links. No more hanging empty brackets on reference ↵Waylan Limberg2010-10-113-13/+26
| | | | links; i.e., [this works]. Associated with and noted as missing when debuging Ticket 79.
* Fixed Ticket 79. Linebreaks in reference link identifiers are now ignored. ↵Waylan Limberg2010-10-113-1/+22
| | | | This matches the most recent version of markdown.pl among other implementations and allows links to work after editors do autolinebreak stuff to text.
* Merge branch 'master' of git@gitorious.org:python-markdown/mainlineWaylan Limberg2010-09-208-70/+140
|\
| * Wrapper functions now accept any arguments also accepted by the class, ↵Waylan Limberg2010-08-291-12/+4
| | | | | | | | rather than a limited subset. They are also more future proof. By using *args and **kwargs, we should not need to update them if we add/change any arguments or keywords on the class.
| * Fixed Ticket 71. Wrapper functions no longer do there own thing with ↵Waylan Limberg2010-08-293-57/+47
| | | | | | | | extensions. All behavior is now within the class.
| * Added test files for bug fix to ticket 62Gerry LaMontagne2010-09-024-0/+70
| |
| * Refactored fix- created method from local function for search. Fixes ticket 62.Gerry LaMontagne2010-08-311-20/+20
| |
| * Further improvements to closing tag search in HtmlBlockProcessorsGerry LaMontagne2010-08-301-7/+11
| |
| * Replaced block.rfind in _get_right_tag with custom search function.Gerry LaMontagne2010-08-291-1/+15
| |
* | Fixed Ticket 78. Wikilinks now support unicode characters.Waylan Limberg2010-09-201-1/+1
| |
* | Added the re.UNICODE flag to inlinepatterns. Now all inlinepattern regex ↵Waylan Limberg2010-09-202-4/+6
|/ | | | will match unicode characters when \w, \b, or \s is used. Also updated docs to reflect change.