Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Future imports go after the docstrings | Adam Dinwoodie | 2013-03-18 | 1 | -1/+1 |
| | | | | | | | | | A `from __future__ import ...` statement must go after any docstrings; since putting them before the docstring means the docstring loses its magic and just becomes a string literal. That then causes a syntax error if there are further future statements after the false docstring. This fixes issue #203, using the patch provided by @Arfrever. | ||||
* | Update fenced_code.py | Timon Wong | 2013-03-15 | 1 | -1/+1 |
| | | | CodeHilite: linenos is replaced by linenums | ||||
* | Now using universal code for Python 2 & 3. | Waylan Limberg | 2013-02-27 | 1 | -12/+8 |
| | | | | | | | | | | The most notable changes are the use of unicode_literals and absolute_imports. Actually, absolute_imports was the biggest deal as it gives us relative imports. For the first time extensions import markdown relative to themselves. This allows other packages to embed the markdown lib in a subdir of their project and still be able to use our extensions. | ||||
* | Moved whitespace normalization to a preprocessor. | Waylan Limberg | 2013-02-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Fixes #150 - at least as much as I'm willing to. This allows whitespace normalization to be overridable by the extension API. Yes, I realize that most other processors will also proabably need to be overniriden to work with any differant whitespace normalization - but I'm okay with that. As pointed out in #150, some processors have the tab length hardcoded in regexes. I'm willing to accept a working patch that fixes that - and keeps the regexes easy to override in a subclass (the provded patch moved them inside the __init__ method - which is not so easy to override in a subclass)). However, that is about the only additional change I'm willing to consider for this issue. | ||||
* | Remove exec bit from extensions/fenced_code.py | Dmitry Shachnev | 2012-11-03 | 1 | -0/+0 |
| | |||||
* | Added support for <foo>+<bar> lexers of Pygments | papaeye | 2012-07-21 | 1 | -1/+1 |
| | |||||
* | Fixed #106. Replaced all references to freewisdom.org (except for Yuri's ↵ | Waylan Limberg | 2012-06-28 | 1 | -2/+2 |
| | | | | homepage). | ||||
* | Support github-flavored markdown by making the '.' optional before language ↵ | Mike Dirolf | 2012-01-17 | 1 | -1/+1 |
| | | | | type. | ||||
* | Fenced code blocks need to end with a fence on its own line. | Mike Dirolf | 2012-01-17 | 1 | -1/+1 |
| | |||||
* | Fixed #60. When we updated codehilite, we forgot to update fenced_codee to ↵ | Waylan Limberg | 2012-01-15 | 1 | -5/+5 |
| | | | | work with it. | ||||
* | appropriately move the tests to the fenced code documentation in the ↵ | Daniel Gottlieb | 2011-12-27 | 1 | -1/+11 |
| | | | | extension source | ||||
* | Allow tildes or backticks in the fenced_code extension to support the syntax ↵ | Daniel Gottlieb | 2011-12-27 | 1 | -1/+3 |
| | | | | used by github | ||||
* | Added doctests to fabfile and edited them to pass in all supported versions ↵ | Waylan Limberg | 2011-08-02 | 1 | -15/+17 |
| | | | | of python. Note: one test (meta) is still failing on Python 3 due to unicode strings. | ||||
* | allow language guessing to be disabled by passing a setting to CodeHilite - ↵ | Rob McBroom | 2011-06-19 | 1 | -0/+1 |
| | | | | closes #24 | ||||
* | Extension.getConfigs returns a dict and is used by the extensions that use ↵ | Waylan Limberg | 2011-05-04 | 1 | -10/+4 |
| | | | | configs. No more self.config['name'][0] weirdness anymore. | ||||
* | Break cyclic import of markdown. This allows people to embed markdown | Toshio Kuratomi | 2010-07-05 | 1 | -1/+2 |
| | | | | if they desire. | ||||
* | Fixed some code that wasn't Python 2.4 compatible. | Waylan Limberg | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | Refactored codehilite and fenced code, so now fenced code will also be ↵ | Lucas van Dijk | 2010-01-25 | 1 | -42/+29 |
| | | | | highlited when codehilite extension is enabled | ||||
* | Added pygments support to fenced_code | Lucas van Dijk | 2010-01-24 | 1 | -13/+64 |
| | |||||
* | Updated fenced_code extension to fit in with consensious on Markdown list. ↵ | Waylan Limberg | 2009-02-02 | 1 | -5/+5 |
| | | | | Language is defined on first line rather than last, and currly brackets around language are optional. | ||||
* | Updated fenced_code extension for package refactor. | Waylan Limberg | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Moved markdown_extensions/ to markdown/extensions. Markdown is now one ↵ | Waylan Limberg | 2008-11-20 | 1 | -0/+117 |
package instead of two. |