summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup backport of 2.6.x bugfixes.md3Waylan Limberg2015-12-296-35/+3
|
* Added Issue Stats badgeWaylan Limberg2015-12-291-0/+1
|
* Updated change_logWaylan Limberg2015-12-291-0/+2
|
* Switch Travis to new infrastructure for faster build.Waylan Limberg2015-12-291-4/+6
|
* Fix handling of characters after backtick in tables.Dmitry Shachnev2015-12-291-1/+1
| | | | Fixes #440. Thanks @jandecaluwe for the bug report.
* Add a failing testcase for issue #440.Dmitry Shachnev2015-12-292-1/+22
|
* Upped to version 2.6.4.Waylan Limberg2015-12-291-0/+2
| | | | | Conflicts: markdown/__version__.py
* Ensure InlinePatterns don't drop newlines.Waylan Limberg2015-12-293-2/+7
| | | | | | Drppoed the non-greedy quantifier from the end of the inlinePatterns as it served no useful purpose and was actually (in very rare edge cases) causing newlines to be dropped. FIxes #439. Thanks to @munificent for the report.
* Upped to version 2.6.3.Waylan Limberg2015-12-291-0/+2
| | | | | Conflicts: markdown/__version__.py
* Coverage 4.0 dropped support for Python 3.2. Until we drop Python 3.2, we ↵Waylan Limberg2015-12-291-2/+2
| | | | must stick with coverage<4.0.
* Fixed handling of table cell splitMustafa Haddara2015-12-294-11/+133
| | | | | Conflicts: tests/extensions/test.cfg
* Fix infinite loop #430facelessuser2015-12-293-5/+17
| | | | | | | | | | | | This should fix the remaining corner cases that can cause infinite loops. Previous iterations did not account for scenarios where the “end” index was less than the “start” index. If the “end” index is ever less than or equal to the “start” index, the “end” will be adjusted to to be “start” + 1 allow the full range to be extracted and replaced. Conflicts: markdown/preprocessors.py
* Fix find footnote placeholder to recurseGustav Tiger2015-12-293-1/+21
|
* Add a test for duplicate angled quotes without smarty extensionDmitry Shachnev2015-12-292-1/+4
|
* Override regex for html inline pattern when smart_angled_quotes is trueDmitry Shachnev2015-12-291-1/+6
| | | | | Add a restriction that the closing angled quote should not be duplicate, so that we can use our own pattern for handling duplicate quotes.
* Add a test to make sure quotes processor does not touch code blocksDmitry Shachnev2015-12-292-2/+2
|
* Revert "smarty: Use a separate processor for angled quotes"Dmitry Shachnev2015-12-291-8/+4
| | | | | | | That commit caused a regression where `<<` and `>>` inside code blocks were wrongly replaced with double quotes. This reverts commit 5029d829c1532f31adc9acbf54d88bb469a69a4f.
* smarty: Use a separate processor for angled quotesDmitry Shachnev2015-12-291-4/+12
| | | | | | | Run that processor before inline processor to fix the test failure. Conflicts: markdown/extensions/smarty.py
* tests: Add a failing case for `<<Hello>>` to smarty testDmitry Shachnev2015-12-292-0/+2
|
* Updated BlockProcessor to new-style class. Changed subclasses to use super().Kar Epker2015-12-292-6/+6
|
* Changed formatting of regex strings. Fixed flake8 issues.Kar Epker2015-12-292-19/+10
|
* Changed line continuations to satisfy pylint.Kar Epker2015-12-292-14/+19
|
* Fixed parser ignoring value of tab_length.Kar Epker2015-12-292-12/+31
| | | | | Conflicts: markdown/blockprocessors.py
* Restict travis to non-experimental branches.Waylan Limberg2015-06-191-0/+4
|
* flake8 cleanup.Waylan Limberg2015-04-221-1/+0
|
* Switch docs to mkdocsWaylan Limberg2015-04-2250-2168/+333
|
* Use twine to upload releases.Waylan Limberg2015-04-221-1/+3
|
* Update download link to point to wheel file.Waylan Limberg2015-04-221-1/+1
|
* Build and upload wheels for releases.Waylan Limberg2015-04-221-2/+2
|
* Revert to ext short names now that we use entry_points.Waylan Limberg2015-04-226-77/+77
|
* Refactor options testsWaylan Limberg2015-04-224-6/+12
|
* smart_emphasis keyword > legacy_em extension.Waylan Limberg2015-04-2213-66/+49
| | | | | | | | | The smart_strong extension has been removed and its behavior is now the default (smart em and smart strong are the default). The legacy_em extension restores legacy behavior. This completes the removal of keywords. All parser behavior is now modified by extensions, not by keywords on the Markdown class.
* Removed unnessecary no attributes test.Waylan Limberg2015-04-223-8/+0
|
* Removed laxy_ol keyword. Use sane_lists extension instead.Waylan Limberg2015-04-228-43/+27
|
* Moved enable_attributes keyword to extension: legacy_attrs.Waylan Limberg2015-04-2219-78/+92
| | | | | | If you have existing documents that use the legacy attributes format, then you should enable the legacy_attrs extension for those documents. Everyone is encouraged to use the attr_list extension going forward.
* Removed some Python2.6- specific code.Waylan Limberg2015-04-221-14/+1
|
* Simplify output_formats to html and xhtml.Waylan Limberg2015-04-221-18/+4
| | | | | | | | | We started with the numbers before HTML5 was a thing and we thought there might be an XHTML2. Today, we know that all we have are HTML style tags and XHTML style tags. Nothing else really matters in the real world. Note that if '(x)html1' '(x)html4' or '(x)html5' are passed in, the number is stripped/ignored. Users shouldn't need to change their code for this.
* Cleaned up some old Python 2.4 code.Waylan Limberg2015-04-221-7/+1
|
* All Markdown instances are now 'md'.Waylan Limberg2015-04-2214-82/+82
| | | | | | | Previously, instances of the Markdown class were represented as any one of 'md', 'md_instance', or 'markdown'. This inconsistancy made it diffcult when developing extensions, or just maintaining the existing code. Now, all instances are consistantly represented as 'md'.
* Removed deprecated HeaderId Extension.Waylan Limberg2015-04-222-147/+0
| | | | Use the TOC extension instead.
* Removed md_globals from extension API.Waylan Limberg2015-04-2220-22/+20
| | | | | There is no need for this anymore. In the past, most config was using globals. Today all config is held on the class instance.
* Update shields to point to correct repo/branch.Waylan Limberg2015-04-221-2/+2
|
* Updated README with warning that this is 3.0.dev.Waylan Limberg2015-04-221-5/+13
| | | Also pointed shields to the correct repo for Travis-CI and Coveralls.
* Seperated 'build_docs' command from 'build' command.Waylan Limberg2015-04-222-23/+0
| | | | | | | | | | The 'build' command never should have called 'build_docs'. It can confuse users: https://stackoverflow.com/questions/28387828/folders-installed-by-python-markdown In fact, I have always run 'build_docs' seperately when I actually need to build the docs. It serves no useful purpose as a subcommand of 'build'.
* Replaced scripts with 'console_scripts' entry points.Waylan Limberg2015-04-227-79/+10
| | | | | | | | The 'bin/markdown_py' script has been replaced with a 'markdown' entry point and 'run_tests.py' with a 'mdtests' entry point. The makefile uses 'python -m markdown.test' rather than 'mdtests' so it can run even if the package is not installed.
* Removed now unnessecary 'makeExtension' functions from extensions.Waylan Limberg2015-04-2219-72/+3
| | | | And misc. cleanup from adopting entrypoints for extensions.
* Use entry points to load extensions by name.Waylan Limberg2015-04-224-59/+57
| | | | | | | | | | | | | | | | | | All previously supported methods of loading an extension given a string name have now been replaced with entry points. Extension classes must be registered as entry points in the 'markdown.extensions' group to support string names. The old module-level 'makeExtension' function is no longer needed. In fact, multiple extensions could be defined in one module and still use string names if entry points are defined pointing to each Extension subclass. All of the build-in extensions are now registered with names that mimic their paths (using dot notation). That may change in the future. It is expected that all extensions will use short names. We may support both ('extra' & 'markdown.extensions.extra') in the interim. Also, all extension configs must now be dicts. Support for a list of tuples has been removed.
* Moved testing framework into library.Waylan Limberg2015-04-224-327/+234
| | | | | | | | | | | | | | The testing framework can now be used by third party extensions to run local tests using Python-Markdown's testing framework. All syntax tests are assumed to be in `cwd/tests/` (where 'cwd' is the current working directory) and its subdirectories. As previosly, UnitTests use normal discovery methods. Note that the actual tests themselves are not in the lib, only the framework. To run tests, from the appropriate directory (the parent dir of `tests/`) run `python -m markdown.test`. Note that the HTMLOutput plugin has been removed as I haven't used in in years.
* 100% coverage of core.py and flake8 cleanup.Waylan Limberg2015-04-226-12/+51
|
* Removed unused import.Waylan Limberg2015-04-221-1/+0
|