Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of https://github.com/waylan/Python-Markdown | Waylan Limberg | 2012-08-09 | 1 | -11/+6 |
|\ | |||||
| * | Removed references to doctests in docs as per #114 | Waylan Limberg | 2012-07-26 | 1 | -11/+6 |
| | | |||||
* | | Fixed #129. Footnotes now output valid HTML5. | Waylan Limberg | 2012-08-09 | 4 | -17/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As HTML5 has depreciated use of `rev=anything` and `rel=footnotes`, they are no longer inlcuded in the output when the output_format is set to HTML5. Note that if someone successful registers a spec for `rel=footnotes` in the future (as a microformat), then that could be considered valid. But until that happens, it is invlaid to use in HTML5. Therefore, we remove it from the output (when outputing HTML% only). As an alternative, two new classes are set (in all output_formats). On the link to the footnote (where `rel=footnotes` was used), we set `class=footnote-ref` and on the backlink (where `rev=footnote` was used), we set `class=footnote-backref`. Also updated the tests to reflect to the new classes in the output. | ||||
* | | Improved `Markdown.set_output_format()` | Waylan Limberg | 2012-08-09 | 1 | -4/+10 |
|/ | | | | | | | | | | Specificaly, `self.output_format` is defined and contains a string of the output format used on the instance. This is more useful that an instance of the searializer when determining alternate behavior elsewhere in the parser. For example, see Issue #129. Also cleaned up the error when an invalid format is provided. We now re-raise the original error (with a custom message) rather than raising a new error. | ||||
* | Fixed #114. Converted doctests to unittests. While I left the doctests there ↵ | Waylan Limberg | 2012-07-26 | 2 | -1/+275 |
| | | | | for documentation purposes, they are no longer being run. Perhaps I'll delete them later and add links to the online docs or something. | ||||
* | Merge pull request #127 from svetlyak40wt/fix-piped-stdout | Waylan Limberg | 2012-07-26 | 1 | -1/+2 |
|\ | | | | | Fixed UnicodeEncodeError when output from markdown_py is piped | ||||
| * | Fixed UnicodeEncodeError when output from markdown_py is piped into another ↵ | Alexander Artemenko | 2012-07-26 | 1 | -1/+2 |
|/ | | | | | | | program. In this case text should be encoded into the output encoding explicitly, because sys.stdout.encoding is None, when piping data. | ||||
* | Merge pull request #124 from papaeye/lexer+lexer | Waylan Limberg | 2012-07-24 | 3 | -1/+21 |
|\ | | | | | Added support for <foo>+<bar> lexers of Pygments | ||||
| * | Added support for <foo>+<bar> lexers of Pygments | papaeye | 2012-07-21 | 3 | -1/+21 |
|/ | |||||
* | Merge pull request #122 from Scorpil/master | Waylan Limberg | 2012-07-19 | 1 | -1/+4 |
|\ | | | | | More expressive ValueError description | ||||
| * | Merge branch 'master' of github.com:Scorpil/Python-Markdown | Scorpil | 2012-07-20 | 1 | -2/+1 |
| |\ | | | | | | | | | | | | | Conflicts: markdown/odict.py | ||||
| | * | Added more expressive description of an error. | Scorpil | 2012-07-20 | 1 | -1/+5 |
| | | | |||||
| * | | Added more expressive description of an error. | Scorpil | 2012-07-20 | 1 | -1/+5 |
| |/ | |||||
* | | Merge pull request #121 from Scorpil/patch-1 | Waylan Limberg | 2012-07-18 | 1 | -1/+1 |
|\ \ | | | | | | | Fixed typo in docs: 'md.treepreprocessor' for 'md.treeprocessor'. | ||||
| * | | Fixed typo in docs: 'md.treepreprocessor' for 'md.treeprocessor'. | Andrew | 2012-07-19 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #120 from apelisse/master | Waylan Limberg | 2012-07-18 | 1 | -1/+1 |
|\ \ | |/ |/| | Fixes example after moving AtomicString to util | ||||
| * | Fixes example after moving AtomicString to util | Antoine Pelisse | 2012-07-18 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #118 from ThiefMaster/patch-1 | Waylan Limberg | 2012-07-16 | 1 | -1/+1 |
|\ \ | |/ |/| | Stack Overflow does NOT convert single linebreaks in markdown to `<br>` ... | ||||
| * | Stack Overflow does NOT convert single linebreaks in markdown to `<br>` tags. | Adrian | 2012-07-16 | 1 | -1/+1 |
|/ | |||||
* | Fixed #115. Make sure all file objects are closed. | Waylan Limberg | 2012-07-12 | 2 | -4/+10 |
| | |||||
* | Fixed 113. We still support Python 2.5 until Markdown version 2.3. | Waylan Limberg | 2012-07-12 | 1 | -1/+1 |
| | |||||
* | Fixed #112 and cleaned up error reporting when loading extensions. | Waylan Limberg | 2012-07-12 | 2 | -12/+16 |
| | |||||
* | Upped version to 2.2.0-Final.2.2.0.final | Waylan Limberg | 2012-07-05 | 1 | -1/+1 |
| | |||||
* | Removed beta warning from 2.2 release notes. | Waylan Limberg | 2012-07-05 | 1 | -3/+1 |
| | |||||
* | Added .md to README.md etc in MANIFEST.in. | Waylan Limberg | 2012-07-05 | 1 | -3/+3 |
| | |||||
* | Fixed #106. Replaced all references to freewisdom.org (except for Yuri's ↵ | Waylan Limberg | 2012-06-28 | 16 | -43/+42 |
| | | | | homepage). | ||||
* | Fixed #110. Documented the 'fenced_code' extension's support for the ↵ | Waylan Limberg | 2012-06-28 | 1 | -0/+13 |
| | | | | 'codehilite' extension. | ||||
* | Fixed #109. The attr_list extension can now be loaded either before or after ↵ | Waylan Limberg | 2012-06-28 | 1 | -2/+6 |
| | | | | the headerid extension. | ||||
* | Fixed #105. Non-existant extensions fail with a warning only. | Waylan Limberg | 2012-06-28 | 1 | -1/+1 |
| | |||||
* | Fix #99. Account for empty header IDs when ensuring uniqueness. | Waylan Limberg | 2012-05-24 | 1 | -1/+1 |
| | |||||
* | Fixed Issue #98. The language designator must start at the beginging of the ↵ | Waylan Limberg | 2012-05-18 | 1 | -1/+1 |
| | | | | first line of a code block for codehilite to recognize it. | ||||
* | Merge branch 'master' of github.com:waylan/Python-Markdown | Waylan Limberg | 2012-05-04 | 1 | -4/+9 |
|\ | |||||
| * | Updated docs to reflect fix in #82. | Waylan Limberg | 2012-05-03 | 1 | -4/+9 |
| | | |||||
* | | Updated version to 2.2.0.alpha.2.2.0.alpha | Waylan Limberg | 2012-05-04 | 2 | -28/+28 |
| | | |||||
* | | Added release notes for v2.2.0. | Waylan Limberg | 2012-05-04 | 3 | -17/+87 |
|/ | |||||
* | Fixed #82. 'enable_attributes' honors 'safe_mode'. | Waylan Limberg | 2012-05-03 | 1 | -0/+4 |
| | | | | | | | Note that you can still explicitly set 'enable_attributes' and that value will be honored regardless of 'safe_mode'. However if 'safe_mode' is on and 'enable_attributes' is not explicitly set, then 'enable_attributes' defaults to False. | ||||
* | Merge pull request #95 from cataliniacob/master | Waylan Limberg | 2012-04-17 | 4 | -6/+14 |
|\ | | | | | Attempted fix for issue 87 | ||||
| * | Add test for 5236a9838c580a17c3299efb97d9f41ce2a1efab | Catalin Iacob | 2012-04-17 | 3 | -0/+7 |
| | | |||||
| * | Fixed #87 | Catalin Iacob | 2012-04-16 | 1 | -6/+7 |
|/ | | | | Elements should be inserted in the tree regardless of enable_attributes | ||||
* | Merge pull request #94 from fin/master | Waylan Limberg | 2012-04-11 | 2 | -0/+2 |
|\ | | | | | added a test for the previous pull request | ||||
| * | tests for 9852c2263ef7775d2a508a9c1721148cbf3ae258 | fin | 2012-04-11 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #93 from fin/master | Waylan Limberg | 2012-04-11 | 1 | -1/+1 |
|\| | | | | | Remove `<del>` and `<ins>` from block-level elements list | ||||
| * | Remove `<ins>` and `<del>` from html block element list | fin | 2012-04-11 | 1 | -1/+1 |
|/ | | | | They are span elements. `<del>` is explicitly mentioned as such in the [markdown syntax document](http://daringfireball.net/projects/markdown/syntax) | ||||
* | Allow blockprocessor.run to return True or False. | Waylan Limberg | 2012-03-21 | 1 | -4/+5 |
| | | | | | | | | | This allows the run method to determine if a block is or is not a match in the midst of parsing outside of the test method. The goal is to eliminate the often redundant test method in the future. In the interim, it remains and if the run method returns None, the existing behavior is maintained. Returning None may generate a DepreciationWarning later. Note that test must still return True to even get to the run method. | ||||
* | Fixed #85. Odict now handles link errors correctly. | Waylan Limberg | 2012-03-19 | 2 | -3/+11 |
| | | | | Also added a test. Thanks for the report. | ||||
* | Merge pull request #86 from SimonSapin/master | Waylan Limberg | 2012-03-18 | 2 | -3/+3 |
|\ | | | | | Typo fix in doc: s/extension-configs/extension_configs/ | ||||
| * | Typo fix in doc: s/extension-configs/extension_configs/ | Simon Sapin | 2012-03-19 | 2 | -3/+3 |
|/ | |||||
* | Point to docs hosted with PyPI rather than Yuri's missing site. | Waylan Limberg | 2012-03-07 | 4 | -9/+10 |
| | |||||
* | Added siteindex to docs. | Waylan Limberg | 2012-03-07 | 5 | -12/+85 |
| | |||||
* | Add release notes, authors and change_log to docs. | Waylan Limberg | 2012-03-07 | 10 | -67/+124 |
| |