Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added nl2br extension. Closes #13. Thanks to Brian Neal for writing the code ↵ | Waylan Limberg | 2011-06-21 | 1 | -0/+35 | |
| | | | | and allowing us to use it. | |||||
* | Cleaned up markdown namespace. This may be a backward incompatible change ↵ | Waylan Limberg | 2011-06-20 | 1 | -5/+2 | |
| | | | | for some extensions. They should be importing from markdown.util | |||||
* | Made the searializer wrapping code a little more dry and more clearly ↵ | Waylan Limberg | 2011-06-20 | 1 | -20/+10 | |
| | | | | defined the public methods. | |||||
* | Updated searializers to handle boolean attributes. html gets the value only ↵ | Waylan Limberg | 2011-06-20 | 1 | -2/+5 | |
| | | | | and xhtml gets the key=value pair. We didn't need this prior to adding the attr_list ext. | |||||
* | allow language guessing to be disabled by passing a setting to CodeHilite - ↵ | Rob McBroom | 2011-06-19 | 2 | -4/+17 | |
| | | | | closes #24 | |||||
* | Added attribute list extension inspired by Maruku's attribute list feature. ↵ | Waylan Limberg | 2011-06-17 | 1 | -0/+122 | |
| | | | | See issue #7. Also likely to become a replacement for the headerid extension (with a little more work - need a forceid option) which means it will also address issue #16. The extension works with some limited testing. Still needs tests and documentation. Currently breaks toc extension - which should run after attr_list, not before. | |||||
* | Added our own xhtml searializer. We no longer use a xml searializer to ↵ | Waylan Limberg | 2011-06-16 | 2 | -21/+36 | |
| | | | | output xhtml. This fixes #9 among other bugs. The test suite even had bad tests that should have been failing. They also have been corrected. | |||||
* | Fixed #22. Horizontal rules now work in a few more crazy edge cases. Who ↵ | Waylan Limberg | 2011-06-16 | 1 | -1/+1 | |
| | | | | actualy useses these? Anyway, we now match markdown.pl. | |||||
* | Fixed #23. Turns out markdown.pl only allows up to one space between ↵ | Waylan Limberg | 2011-06-16 | 1 | -2/+2 | |
| | | | | brackets in reference links. Now we do as well. | |||||
* | Merge branch 'master' of https://github.com/waylan/Python-Markdown | Waylan Limberg | 2011-06-15 | 1 | -2/+2 | |
|\ | ||||||
| * | A few minor tweaks to the smart_strong extension. Thanks to David Chambers ↵ | Waylan Limberg | 2011-06-13 | 1 | -2/+2 | |
| | | | | | | | | for pointing out the typo. | |||||
* | | Fixed #21. A header and paragraph not seperated by a blank line inside a ↵ | Waylan Limberg | 2011-06-15 | 1 | -4/+27 | |
|/ | | | | list item are now parsed correctly. One of those crazy wierd edge cases that no one would ever test for, but is obvious once you see it. | |||||
* | Added smart_strong extension. Fixes Issue #17. Like PHP Markdown Extra, we ↵ | Waylan Limberg | 2011-06-07 | 2 | -1/+47 | |
| | | | | now include smart handling of double underscores (not just single underscores). The new behavior may be called seperately as the 'smart_strong' extension or as part of the 'extra' extension. | |||||
* | Fixed #19. Improved Start Emphasis regex. | Waylan Limberg | 2011-06-07 | 1 | -1/+1 | |
| | ||||||
* | Added "." to the characters that may be included in implicit heading ids. | David Chambers | 2011-06-05 | 1 | -1/+1 | |
| | ||||||
* | Minor adjustment to previous commit. Reference links don't need unescaped as ↵ | Waylan Limberg | 2011-06-02 | 1 | -4/+4 | |
| | | | | they are removed before escaping takes place. Related to issue #14. | |||||
* | Partial fix of issue #14. hrefs (and titles) are now unescaped, but it ↵ | Waylan Limberg | 2011-06-02 | 3 | -12/+25 | |
| | | | | uppears that we are loosing escaped backslashes (both in the href and in the link label in the example given in issue 14. | |||||
* | Fixed #15. Setext Headers now work with any number of - or = characters. | Waylan Limberg | 2011-06-01 | 1 | -1/+1 | |
| | ||||||
* | Added new HTML5 block elements to known block level elements | Horst Gutmann | 2011-05-22 | 1 | -1/+3 | |
| | ||||||
* | Fix #4. Links in headers no longer munge up table of contents in TOC extension. | Waylan Limberg | 2011-05-04 | 1 | -3/+10 | |
| | ||||||
* | Fixed typo in previous commit. Extension.getConfigs is a method, not a property. | Waylan Limberg | 2011-05-04 | 1 | -1/+1 | |
| | ||||||
* | Extension.getConfigs returns a dict and is used by the extensions that use ↵ | Waylan Limberg | 2011-05-04 | 6 | -32/+26 | |
| | | | | configs. No more self.config['name'][0] weirdness anymore. | |||||
* | Minor improvement to Extension settings API. Extension.getConfig now accepts ↵ | Waylan Limberg | 2011-04-07 | 1 | -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 Limberg | 2011-04-07 | 1 | -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 Limberg | 2011-04-07 | 1 | -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 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. |