Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactored the toc extension. Fixes #33: The [TOC] marker is now ignored in ↵ | Waylan Limberg | 2011-07-14 | 1 | -28/+17 | |
| | | | | code blocks/spans. A better fix for #4: Only the *text* from the header is caried over to the toc (without *any* inline formatting). Also refactored the extension to better work in tandem with the refactored headerid extension and the new attr_list extension. | |||||
* | Fixed #34. Better support for unicode text with the html_tidy extension. ↵ | Waylan Limberg | 2011-07-14 | 1 | -2/+5 | |
| | | | | Force input and output of tidy to use UTF-8 and encode before and decode after passing in the text. | |||||
* | Updated release notes for recent changes to headerid extension. | Waylan Limberg | 2011-06-30 | 1 | -0/+6 | |
| | ||||||
* | Refactored HeaderId extension to no longer include defining ids. It only ↵ | Waylan Limberg | 2011-06-30 | 4 | -126/+126 | |
| | | | | autogenerates ids. If you want to define your own, use the attr_list extension. Also expanded HeaderId extension to use the same algorithm as the TOC extension (which is better) for slugifying the header text. Added config settings to override the default word separator and the slugify callable. Closes #16 as the reported bug is for a removed feature. | |||||
* | Fixed #30. Tables now allow three spaces of indent like PHP Markdown Extra. ↵ | Waylan Limberg | 2011-06-29 | 3 | -7/+69 | |
| | | | | Thanks to skurfer for report and inital patch. | |||||
* | Fixed #28. Inline raw html is now enclosed in p tags. This used to work. ↵ | Waylan Limberg | 2011-06-28 | 4 | -3/+16 | |
| | | | | Somehow we stopped checking for a single inline html element when swapping back in raw html. Added a test. Also patched a weird (invalid) comment test. Seeing the input is not really a valid html comment - it doesn't matter what we do with it. I suppose we test it to make sure it doesn't break the parser. Actual output is not so important. As a side note, this has exposed a preexisting (unrelated) bug with the extra extension's handling of raw html. That test is failing following this fix. | |||||
* | Merge pull request #27 from teepark/stdin-encoding | Waylan Limberg | 2011-06-27 | 1 | -1/+1 | |
|\ | | | | | also respect encoding when reading from a user-provided file | |||||
| * | also respect encoding when reading from a user-provided file | Travis Parker | 2011-06-25 | 1 | -1/+1 | |
|/ | ||||||
* | Added first draft of 2.1.0-Alpha release notes. | Waylan Limberg | 2011-06-23 | 1 | -0/+97 | |
| | ||||||
* | Added html5 and xhtml5 output formats. These are just aliases to html4 and ↵ | Waylan Limberg | 2011-06-23 | 2 | -2/+8 | |
| | | | | xhtml1 searializers respectively. | |||||
* | Added test for escaping chars in link urls. Closes #14 which was fixed in ↵ | Waylan Limberg | 2011-06-23 | 2 | -0/+10 | |
| | | | | previous commits. This addes the missing tests. | |||||
* | Cleaned up backward compatability of old positional arguments. Some people ↵ | Waylan Limberg | 2011-06-23 | 2 | -20/+53 | |
| | | | | may be using them, so we should continue to support them. Also adjusted docs to encourage using keyword args only. However, if existing code was using positional args in previous versions, it should still work. | |||||
* | Added nl2br extension. Closes #13. Thanks to Brian Neal for writing the code ↵ | Waylan Limberg | 2011-06-21 | 3 | -17/+56 | |
| | | | | and allowing us to use it. | |||||
* | Fixed a few failing API tests. ElementTree is only available from ↵ | Waylan Limberg | 2011-06-21 | 1 | -5/+5 | |
| | | | | markdown.util.etree not markdown.etree. This may be a backward incompatable change for some extensions. | |||||
* | 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. | |||||
* | Merge branch 'master' of https://github.com/waylan/Python-Markdown | Waylan Limberg | 2011-06-20 | 3 | -4/+24 | |
|\ | ||||||
| * | Minor Doc update. Fixed a typo in previous commit. | Waylan Limberg | 2011-06-20 | 1 | -1/+1 | |
| | | ||||||
| * | Merge pull request #25 from skurfer/noGuessing | Waylan Limberg | 2011-06-19 | 3 | -4/+24 | |
| |\ | | | | | | | allow language guessing to be disabled by passing a setting to CodeHilite - closes #24 | |||||
| | * | allow language guessing to be disabled by passing a setting to CodeHilite - ↵ | Rob McBroom | 2011-06-19 | 3 | -4/+24 | |
| |/ | | | | | | | closes #24 | |||||
* / | Added docs and tests to attr_list ext. Closes #7. | Waylan Limberg | 2011-06-20 | 4 | -0/+129 | |
|/ | ||||||
* | 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 | 6 | -37/+52 | |
| | | | | 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 | 3 | -4/+61 | |
|/ | | | | 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 | 4 | -1/+78 | |
| | | | | 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 | 3 | -2/+4 | |
| | ||||||
* | Merge pull request #20 from davidchambers/master | Waylan Limberg | 2011-06-06 | 1 | -1/+1 | |
|\ | | | | | Have the HeaderId extension preserve periods when generating ids from headings | |||||
| * | 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 | 3 | -2/+10 | |
| | ||||||
* | Merge pull request #10 from zerok/master | Waylan Limberg | 2011-05-22 | 3 | -1/+33 | |
|\ | | | | | New HTML5 block elements | |||||
| * | Added new HTML5 block elements to known block level elements | Horst Gutmann | 2011-05-22 | 3 | -1/+33 | |
|/ | ||||||
* | MANIFEST.in updated to include run-tests.py and setup.cfg. Opps. | Waylan Limberg | 2011-05-18 | 1 | -0/+2 | |
| | ||||||
* | Updated INSTALL doc. | Waylan Limberg | 2011-05-18 | 1 | -13/+15 | |
| | ||||||
* | Edited command line docs. Changed "Linux" to "*nix (Linux, OSX, BSD, Unix, ↵ | Waylan Limberg | 2011-05-18 | 1 | -2/+2 | |
| | | | | etc.)" for completeness. | |||||
* | Updated command line docs to document the actual implementation. For ↵ | Waylan Limberg | 2011-05-18 | 1 | -44/+29 | |
| | | | | example, the script is named "markdown_py". Also, no longer including the output of 'markdown_py --help' as that output has changed from time to time, but doesn't ever get updated here. The user can just run it if they need to. All we need to do it document that the option exists. | |||||
* | Complete Rewrite of the using_as_module docs to clearly list all options. | Waylan Limberg | 2011-05-10 | 1 | -131/+191 | |
| | ||||||
* | 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 | 7 | -14/+48 | |
| | | | | default. |