summaryrefslogtreecommitdiff
path: root/markdown/extensions/wikilinks.py
Commit message (Collapse)AuthorAgeFilesLines
* Switch docs to MKDocs (#602)Waylan Limberg2017-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #601. Merged in 6f87b32 from the md3 branch and did a lot of cleanup. Changes include: * Removed old docs build tool, templates, etc. * Added MkDocs config file, etc. * filename.txt => filename.md * pythonhost.org/Markdown => Python-Markdown.github.io * Markdown lint and other cleanup. * Automate pages deployment in makefile with `mkdocs gh-deploy` Assumes a git remote is set up named "pages". Do git remote add pages https://github.com/Python-Markdown/Python-Markdown.github.io.git ... before running `make deploy` the first time.
* Flake8 cleanup (mostly whitespace).Waylan Limberg2014-11-201-15/+16
| | | | | | Got all but a couple files in the tests (ran out of time today). Apparently I have been using some bad form for years (although a few things seemed to look better before the update). Anyway, conformant now.
* Standardized all extension header comments to a uniform format.Waylan Limberg2014-08-211-66/+5
|
* 'http://packages.python.org/Markdown/' => ↵Waylan Limberg2014-08-211-1/+1
| | | | 'https://pythonhosted.org/Markdown/'. The former redirects to the latter anyway. Might as well point to the actual destination.
* Update extensions for Extension.__init__ refactorWaylan Limberg2014-07-311-12/+10
| | | | | | | | | | | | | | | | | Fixes #325. All extensions can now accept a dict of configs or **kwargs, not just a list of tuples. Third party extensions may want to follow suite. Extensions may only accept keyword arguments in the future. These changes still need to be documented. A couple things of note: The CodeHilite extension previously issued a DeprecationWarning if the old config key `force_linenos` was used. With thins change, a KeyError will now be raised. The `markdown.util.parseBoolValue` function gained a new argument: `preserve_none` (defaults to False), which when set to True, will pass None through unaltered (will not convert it to False).
* Make doctests support Python 3Dmitry Shachnev2014-06-111-9/+9
|
* Fixed wikilinks extension's handling of config setting. Not sure how I ↵Waylan Limberg2013-06-161-2/+2
| | | | didn't notice the tests were failing for this before.
* Fixed #216. WikiLink Extension actually accepts configs.Waylan Limberg2013-05-191-2/+2
|
* Future imports go after the docstringsAdam Dinwoodie2013-03-181-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.
* Now using universal code for Python 2 & 3.Waylan Limberg2013-02-271-16/+12
| | | | | | | | | | 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.
* Fixed #106. Replaced all references to freewisdom.org (except for Yuri's ↵Waylan Limberg2012-06-281-1/+1
| | | | homepage).
* Added doctests to fabfile and edited them to pass in all supported versions ↵Waylan Limberg2011-08-021-16/+16
| | | | of python. Note: one test (meta) is still failing on Python 3 due to unicode strings.
* Extension.getConfigs returns a dict and is used by the extensions that use ↵Waylan Limberg2011-05-041-5/+5
| | | | configs. No more self.config['name'][0] weirdness anymore.
* Fixed Ticket 78. Wikilinks now support unicode characters.Waylan Limberg2010-09-201-1/+1
|
* Rename misc.py to util.py at the request of upstreamToshio Kuratomi2010-07-051-1/+1
|
* Break cyclic import of markdown. This allows people to embed markdownToshio Kuratomi2010-07-051-1/+1
| | | | if they desire.
* Fixed a documentation error with recent wikilinks update and added a ↵Waylan Limberg2009-03-211-0/+9
| | | | regression test to make sure it continues to work.
* Cleaning up some stuff from last commit.Waylan Limberg2009-03-201-1/+1
|
* Fixed a few bugs in wikilinks url cleaning. And for those who don't like the ↵Waylan Limberg2009-03-201-5/+13
| | | | default, added a config which accepts a callable to replace the default. Updated tests and docs.
* Updated wikilinks extension for new refactor.Waylan Limberg2008-11-201-3/+3
|
* Moved markdown_extensions/ to markdown/extensions. Markdown is now one ↵Waylan Limberg2008-11-201-0/+138
package instead of two.