summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed many failing tests in inline refactor. Still a ways to go.inlineWaylan Limberg2015-06-21215-59/+591
|
* Inital attempt at an inline refactor.Waylan Limberg2015-06-192-33/+142
| | | | | | | | | | | This is very much incomplete and not fully tested. Likely still a long way to go. At least it works with a some simple stuff. However, tails are currenlty processed twice and various now-uneeded pieces have not yet been removed. Added a new treeprocessor which runs inlinepatterns without the need to use placeholders or alter patterns. Note that any pattern that made use of groups will need to be updated (reduce each group by 1) as a result.
* 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
|
* Removed deprecated support for positional args on Extension class.Waylan Limberg2015-04-2218-77/+49
|
* Removed mention of removed features from docs.Waylan Limberg2015-04-222-62/+2
|
* removed -safe option from commandline script.Waylan Limberg2015-04-222-9/+0
|
* Removed deprecated safe_mode.Waylan Limberg2015-04-2230-648/+26
|
* Removed unnessecary fake_extension_factory from tests.Waylan Limberg2015-04-221-25/+0
|
* Removed deprecated support for short extension names.Waylan Limberg2015-04-223-72/+10
|
* Removed support for deprecated config in ext name.Waylan Limberg2015-04-223-28/+7
|
* Removed deprecated support for positional args.Waylan Limberg2015-04-222-37/+9
|
* Moved core to core.pyWaylan Limberg2015-04-225-532/+524
| | | | | | __version__ is now in __init__.py (as is should be) and the core is defined in core.py. Other than version, __init__.py is just a dummy which imports the pieces we make public.
* Upped version to 3.0.0.devWaylan Limberg2015-04-221-1/+2
|
* Updated change_log for 2.6.2.Waylan Limberg2015-04-201-0/+2
|
* Upped version to 2.6.22.6.2-finalWaylan Limberg2015-04-201-1/+1
|
* Merge pull request #404 from iKevinY/spelling-fixesWaylan Limberg2015-04-061-6/+6
|\ | | | | Miscellaneous capitalization/spelling fixes
| * Miscellaneous capitalization/spelling fixesKevin Yap2015-04-061-6/+6
| |
* | Merge pull request #400 from pieterprovoost/emptytableWaylan Limberg2015-04-063-3/+15
|\ \ | |/ |/| support empty table
| * updated tables testpieterprovoost2015-04-062-2/+11
| |
| * added support for zero row tablespieterprovoost2015-04-052-2/+5
|/
* smarty: Add back special case for decade abbreviationsDmitry Shachnev2015-03-183-6/+10
| | | | | | | | | | The previous version did not work, and was incorrectly removed as part of 85ad18071d619251. In the new version, use lookbehind search for \w instead of \b, so that it works. Update the tests accordingly. Fixes #399 (except parts that we can't fix). Thanks @gandaro for the report.
* Merge branch 'master' of https://github.com/waylan/Python-MarkdownWaylan Limberg2015-03-141-5/+5
|\
| * Merge pull request #397 from gandaro/doc-fail-0Waylan Limberg2015-03-131-5/+5
| |\ | | | | | | fix broken documentation code
| | * fix broken documentation codeJakob Kramer2015-03-131-5/+5
| |/