Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge branch 'master' of https://github.com/waylan/Python-Markdown2.2.1.final | Waylan Limberg | 2012-11-04 | 6 | -32/+90 | |
|\ \ | ||||||
| * | | Fixed minor typo in attr_list docs. | Waylan Limberg | 2012-11-04 | 1 | -1/+1 | |
| | | | | | | | | | Thanks @mitya57. | |||||
| * | | Merge pull request #157 from mitya57/master | Waylan Limberg | 2012-11-03 | 3 | -27/+68 | |
| |\ \ | | | | | | | | | Improve docs/extensions/index.txt so that the name for each extension is properly identified. | |||||
| | * | | docs/basic.css: Improve CSS a bit | Dmitry Shachnev | 2012-11-03 | 1 | -8/+15 | |
| | | | | ||||||
| | * | | docs/extensions/index.txt: make it clear what name to pass for extensions | Dmitry Shachnev | 2012-11-03 | 1 | -19/+53 | |
| | | | | ||||||
| | * | | Remove exec bit from extensions/fenced_code.py | Dmitry Shachnev | 2012-11-03 | 1 | -0/+0 | |
| |/ / | ||||||
| * | | Fix silly typo in previous commit. | Waylan Limberg | 2012-11-01 | 1 | -1/+1 | |
| | | | ||||||
| * | | A better fix for #155. Unescaping inline placholders now returns the text ↵ | Waylan Limberg | 2012-11-01 | 1 | -6/+19 | |
| | | | | | | | | | | | | only of an Element - rather than the html which just gets html escaped in the output anyway. | |||||
| * | | Fixed #154. Inline placeholders in img alt text are now unescaped. | Waylan Limberg | 2012-11-01 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fixed #155. Early unescaping of inline placeholders now works when the ↵ | Waylan Limberg | 2012-11-01 | 1 | -1/+5 | |
| | | | | | | | | | | | | placeholder is an Elementtree Element. | |||||
| * | | Merge pull request #156 from mitya57/master | Waylan Limberg | 2012-10-26 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | Fix the link in docs' bottom panel | |||||
| | * | | Apply a fix from commit 3e6e70eb48 to the bottom panel as well | Dmitry Shachnev | 2012-10-26 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Upped version to 2.2.1. | Waylan Limberg | 2012-11-04 | 6 | -9/+24 | |
| | | | ||||||
* | | | Fixed CodeHilite test when pygments is not installed. | Waylan Limberg | 2012-11-04 | 1 | -1/+1 | |
|/ / | ||||||
* | | Fixed #153. Two spaces at end of paragraph is not a linebreak. | Waylan Limberg | 2012-10-21 | 4 | -14/+6 | |
| | | ||||||
* | | Fixed #152. Spaces in links are now escaped. | Waylan Limberg | 2012-10-21 | 3 | -3/+4 | |
| | | ||||||
* | | Fixed #151. Raw html matching is now case-insensitive. | Waylan Limberg | 2012-10-21 | 3 | -2/+13 | |
| | | ||||||
* | | Merge pull request #142 from mitya57/master | Waylan Limberg | 2012-09-09 | 1 | -0/+21 | |
|\ \ | | | | | | | Add `long_description` attribute to `data` in `setup.py` | |||||
| * | | Remove unneeded link | Dmitry Shachnev | 2012-09-09 | 1 | -1/+0 | |
| | | | ||||||
| * | | setup.py: Add `long_description` attribute to `data` | Dmitry Shachnev | 2012-09-09 | 1 | -0/+22 | |
|/ / | | | | | | | so that there's no text breakage on PyPI page | |||||
* | | Fixed #141. Minor typo on wikilinks docs. | Waylan Limberg | 2012-09-07 | 1 | -1/+1 | |
| | | | | | | Thanks for the report. | |||||
| * | Added comments detailing the difference between not providing a title and ↵ | Tiago Serafim | 2012-09-19 | 1 | -0/+4 | |
| | | | | | | | | using a blank string as a title | |||||
| * | First version of the docs. | Tiago Serafim | 2012-09-19 | 4 | -38/+114 | |
| | | ||||||
| * | More tests for the extension and new tests for the RE. It's now possible to ↵ | Tiago Serafim | 2012-09-19 | 4 | -30/+40 | |
| | | | | | | | | use an explicit blank title to not have the <p> tag with the title rendered. | |||||
| * | Removed the configs. | Tiago Serafim | 2012-09-08 | 2 | -49/+17 | |
| | | ||||||
| * | Initial version with insufficient tests and no docs. | Tiago Serafim | 2012-09-02 | 5 | -10/+221 | |
|/ | ||||||
* | Merge pull request #139 from Grahack/patch-2 | Waylan Limberg | 2012-08-29 | 1 | -2/+2 | |
|\ | | | | | Typo: Boolen -> Boolean. | |||||
| * | Typo: Boolen -> Boolean. | Grahack | 2012-08-29 | 1 | -2/+2 | |
|/ | ||||||
* | Merge pull request #137 from mitya57/master | Waylan Limberg | 2012-08-28 | 1 | -1/+1 | |
|\ | | | | | Fixed not working "index" link in extensions documentation | |||||
| * | Fixed not working "index" link in extensions documentation | Dmitry Shachnev | 2012-08-28 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #136 from Grahack/typos | Waylan Limberg | 2012-08-28 | 4 | -6/+6 | |
|\ \ | |/ |/| | Misc typos. | |||||
| * | Misc typos. | chri | 2012-08-28 | 4 | -6/+6 | |
|/ | ||||||
* | Merge pull request #131 from mitya57/master | Waylan Limberg | 2012-08-27 | 2 | -2399/+2398 | |
|\ | | | | | Fixed `footnote_many_footnotes` test | |||||
| * | Merge commit '63020032eab733ed74f06a687abb5c358de4e931' | Dmitry Shachnev | 2012-08-26 | 1 | -1/+0 | |
| |\ | ||||||
| | * | Don't import from doctest, it's no longer used | Dmitry Shachnev | 2012-08-26 | 1 | -1/+0 | |
| |/ |/| | ||||||
| * | Fix `footnote_many_footnotes` test as per #129 | Dmitry Shachnev | 2012-08-25 | 1 | -2398/+2398 | |
|/ | ||||||
* | Merge branch 'master' of https://github.com/waylan/Python-Markdown | Waylan Limberg | 2012-08-23 | 1 | -1/+1 | |
|\ | ||||||
| * | Merge pull request #130 from erikvanzijst/master | Waylan Limberg | 2012-08-15 | 1 | -1/+1 | |
| |\ | | | | | | | Fix unicode problem in headerid extension | |||||
| | * | Fixed unicode breakage. | Erik van Zijst | 2012-08-14 | 1 | -1/+1 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | slugify() requires unicode, not a str instance. This causes the extension to crash: File "/home/erik/virtualenv/bb/local/lib/python2.7/site-packages/markdown/__init__.py" in markdown 386. return md.convert(text) File "/home/erik/virtualenv/bb/local/lib/python2.7/site-packages/markdown/__init__.py" in convert 287. newRoot = treeprocessor.run(root) File "/home/erik/virtualenv/bb/local/lib/python2.7/site-packages/markdown/extensions/headerid.py" in run 140. id = slugify(''.join(itertext(elem)), sep) File "/home/erik/virtualenv/bb/local/lib/python2.7/site-packages/markdown/extensions/headerid.py" in slugify 93. value = unicodedata.normalize('NFKD', value).encode('ascii', 'ignore') TypeError: must be unicode, not str | |||||
* / | Fixed encoding issues when writing to stdout. | Waylan Limberg | 2012-08-23 | 1 | -2/+9 | |
|/ | | | | | | | | | | | | | | | | | In Python 2.x, if you write to stdout and stdout is piped (for example: `python -m markdown foo.txt | less`), then `sys.stdout.encoding` is `None` and an error is rasied. Commit 1132f9e20cd7a5d6be809651f1034c44c32dbc0e was an attempt to fix this, and it works in Python 2.x. However, it does not work in Python 3.x, which does not exhibit this problem. In fact, that fix actually breaks things in Python 3 whether the output is piped or not. Additionaly, in Python 2.x, the fix is not needed if the output is not being piped. As we do not have a version specific issue, but an issue with `sys.stdout.encoding`, we check for that to determine which way to go. This way, the "right thing" *should* happen every time. | |||||
* | 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 |