Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Made lazy ordered lists a settable option. The previous behavior (on) is the ↵ | Waylan Limberg | 2011-04-29 | 3 | -12/+9 | |
| | | | | default. | |||||
* | Merge commit 'refs/merge-requests/13' of ↵ | Waylan Limberg | 2011-04-28 | 1 | -1/+16 | |
|\ | | | | | | | git://gitorious.org/python-markdown/mainline into merge-requests/13 | |||||
| * | fixed startindex reset in multiple ul | Rohan Jain | 2011-04-05 | 1 | -6/+4 | |
| | | | | | | | | | | Now the startindex would be reset if continual unordered lists are present (tests are passed). | |||||
| * | add new list item comment | Rohan Jain | 2011-04-03 | 1 | -0/+1 | |
| | | ||||||
| * | custom index support for ol tag | Rohan Jain | 2011-04-03 | 1 | -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 | |||||
* | | Correctly specify minimum version of cElementTree. Fixes #5. | Waylan Limberg | 2011-04-28 | 1 | -2/+2 | |
| | | ||||||
* | | Corrected behavior of headerid extension to match default behavior when ↵ | Waylan Limberg | 2011-04-28 | 1 | -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 Limberg | 2011-04-28 | 1 | -2/+6 | |
| | | | | | | | | getting bug reports all the time. | |||||
* | | fix import loop when importing logger | Craig de Stigter | 2011-04-18 | 3 | -4/+7 | |
| | | ||||||
* | | sane logging. remove sys.exit() calls (libraries should never ever call ↵ | Craig de Stigter | 2011-04-18 | 7 | -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) | |||||
* | Added an alternative meta list syntax. | David Chambers | 2011-02-17 | 1 | -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']}`. | |||||
* | Made the HeaderId extension's word separator configurable to allow, for | David Chambers | 2011-01-22 | 1 | -2/+3 | |
| | | | | example, hyphens to be used rather than underscores. | |||||
* | Updated regular expression to accept periods in heading ids. | David Chambers | 2011-01-09 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of https://github.com/davidchambers/Python-Markdown ↵ | Waylan Limberg | 2010-12-12 | 1 | -0/+9 | |
|\ | | | | | | | into davidchambers | |||||
| * | Added `return self` to instance methods without return values to facilitate ↵ | David Chambers | 2010-12-05 | 1 | -0/+9 | |
| | | | | | | | | chaining, e.g. `md.reset().convert(text)`. | |||||
* | | Fixed a few inline issues found from running the currenlty skipped tests ↵ | Waylan Limberg | 2010-11-04 | 1 | -7/+9 | |
|/ | | | | from tests/pl/Tests_2007/. Namely, improved simple reference links and fixed a small issue with titles in links. | |||||
* | Fixed Ticket 74. AtomicStrings should now be ackowledged (and preserved) in ↵ | Waylan Limberg | 2010-11-04 | 1 | -1/+6 | |
| | | | | 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 Limberg | 2010-11-01 | 1 | -15/+17 | |
| | | | | few typos in docs. | |||||
* | Fixed previous two commits. cElementTree cannot use ElementTree nodes in the ↵ | Waylan Limberg | 2010-10-31 | 3 | -7/+7 | |
| | | | | 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 Limberg | 2010-10-29 | 1 | -1/+5 | |
| | | | | longer crash on other non-string ElemetTree tags (like processing instructions). | |||||
* | Fixed Ticket 80. Added support for ElementTree Comments to be included by ↵ | Waylan Limberg | 2010-10-29 | 2 | -6/+12 | |
| | | | | third party extensions when using cElementTree. | |||||
* | Added short reference links. No more hanging empty brackets on reference ↵ | Waylan Limberg | 2010-10-11 | 1 | -12/+15 | |
| | | | | 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 Limberg | 2010-10-11 | 1 | -0/+5 | |
| | | | | 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/mainline | Waylan Limberg | 2010-09-20 | 3 | -68/+68 | |
|\ | ||||||
| * | Wrapper functions now accept any arguments also accepted by the class, ↵ | Waylan Limberg | 2010-08-29 | 1 | -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 Limberg | 2010-08-29 | 2 | -55/+45 | |
| | | | | | | | | extensions. All behavior is now within the class. | |||||
| * | Refactored fix- created method from local function for search. Fixes ticket 62. | Gerry LaMontagne | 2010-08-31 | 1 | -20/+20 | |
| | | ||||||
| * | Further improvements to closing tag search in HtmlBlockProcessors | Gerry LaMontagne | 2010-08-30 | 1 | -7/+11 | |
| | | ||||||
| * | Replaced block.rfind in _get_right_tag with custom search function. | Gerry LaMontagne | 2010-08-29 | 1 | -1/+15 | |
| | | ||||||
* | | Fixed Ticket 78. Wikilinks now support unicode characters. | Waylan Limberg | 2010-09-20 | 1 | -1/+1 | |
| | | ||||||
* | | Added the re.UNICODE flag to inlinepatterns. Now all inlinepattern regex ↵ | Waylan Limberg | 2010-09-20 | 1 | -1/+2 | |
|/ | | | | will match unicode characters when \w, \b, or \s is used. Also updated docs to reflect change. | |||||
* | Fixed Ticket 70 and added a test. Footnote references whithout a ↵ | Waylan Limberg | 2010-08-25 | 1 | -7/+10 | |
| | | | | coresponding definition no longer raise an error. They now pass through as plain text - which is the same behavior as PHP Markdown Extra. Thanks for the report Benjamin Bach. | |||||
* | Fixed problem hidden by Ticket 68. Defining a footnote placeholder in a ↵ | Waylan Limberg | 2010-08-02 | 1 | -8/+7 | |
| | | | | markdown document results in the placeholder actually being replaced. Also added a test for this. Note that if the placeholder paragraph has other text, that text is lost. Not sure if this is a bug or bad markdown syntax. | |||||
* | Fix Ticket 68. Remove an old line of code from the footnote extension that ↵ | Waylan Limberg | 2010-08-02 | 1 | -1/+0 | |
| | | | | should have been removed excatly 2 years and 3 days ago (commit bd185087dc899b6157f8) when elementtree support was added. And to think it has been generating an error the whole time and was only just reported now. It appears this was never tested as it still does not work after removing the old line. At least we do not get an error. The footnote placeholder is just an empty paragraph. Thanks for the report Evan Carmi. | |||||
* | Added logging imports to markdown.extensions which were missed in recent ↵ | Waylan Limberg | 2010-07-22 | 1 | -0/+2 | |
| | | | | reorg. Also added tests to make sure erros and warnings are raised where they should be. | |||||
* | Fixed Ticket 65. Lines with only a lessthan sign (<) no longer crash the ↵ | Waylan Limberg | 2010-07-14 | 1 | -2/+2 | |
| | | | | raw html parser. Fixed a related but I found while debugging this as well. Also added tests for both. | |||||
* | Missed changing version_info earlier. | Waylan Limberg | 2010-07-14 | 1 | -1/+1 | |
| | ||||||
* | Made some changes to setup.py. Markdown version is now set to 2.1.0.Dev as ↵ | Waylan Limberg | 2010-07-14 | 1 | -2/+2 | |
| | | | | it should have been for some time now. Also updated classifiers to correctly represent the Python versions we support. Removed 2.3 and added 2.7. | |||||
* | Fixed Ticket 66. We have dropped official support for Python 3.0 and now ↵ | Waylan Limberg | 2010-07-14 | 1 | -4/+7 | |
| | | | | only officially support Python 3.1+ in the Python 3 series (we still support 2.4, 2.5 & 2.6 in the Python 2 series). If you really must use Python 3.0, we suggest using Python 3.1's 2to3 tool. See comment in source and Ticket 66 for more. | |||||
* | Cleaned up the comments in markdown/__init__.py after the refactor. | Waylan Limberg | 2010-07-07 | 1 | -33/+14 | |
| | ||||||
* | Fixed tab_length on codehilite extension to match new implementation of ↵ | Waylan Limberg | 2010-07-07 | 1 | -11/+5 | |
| | | | | default configs. | |||||
* | A better implementation of globals as attributes on the Markdown class. This ↵ | Waylan Limberg | 2010-07-07 | 6 | -52/+53 | |
| | | | | should be more future proof. | |||||
* | Factored out the building of the various processors and patterns into ↵ | Waylan Limberg | 2010-07-07 | 6 | -103/+90 | |
| | | | | utility functions called by a build_parser method on the Markdown class. Editing of the processors and patterns now all happen in one file for each type. Additionaly, a subclass of Markdown could potentially override the build_parser method and build a parser for a completely differant markup language without first building the default and then overriding it. | |||||
* | Moved a bunch of global variables to the instance of the Markdown class. | Waylan Limberg | 2010-07-06 | 7 | -40/+48 | |
| | ||||||
* | Removed Global variable HTML_PLACEHOLDER. Use HtmlStash.get_placeholder(key) ↵ | Waylan Limberg | 2010-07-06 | 2 | -5/+5 | |
| | | | | if you need it. | |||||
* | Moved base Extension class and extension loaders to ↵ | Waylan Limberg | 2010-07-06 | 2 | -100/+100 | |
| | | | | markdown/extensions/__init__.py. Now only the Markdown class and two public wrappers are in markdown/__init__.py. | |||||
* | Moved HtmlStash and base Prosessor classes to the new util module. | Waylan Limberg | 2010-07-06 | 4 | -55/+50 | |
| | ||||||
* | Updated commandline script as logging settings are no longer in ↵ | Waylan Limberg | 2010-07-06 | 2 | -2/+4 | |
| | | | | markdown/__init__.py | |||||
* | More cleanup. I thought I removed this. | Waylan Limberg | 2010-07-06 | 1 | -36/+0 | |
| | ||||||
* | Cleanup of my cleanup. | Waylan Limberg | 2010-07-06 | 1 | -36/+0 | |
| |