aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* added instructions for CodeHilite with PygmentsKristian Rother2016-06-061-8/+15
| | | Improved the setup documentation when rendering Python code with Pygments and CodeHilite. Added a link to the Pygments CSS files and emphasized that not installing pygments does not cause an error message.
* Merge pull request #478 from adamchainz/readthedocs.ioWaylan Limberg2016-05-293-4/+4
|\ | | | | Convert readthedocs link for their .org -> .io migration for hosted projects
| * Convert readthedocs link for their .org -> .io migration for hosted projectsAdam Chainz2016-05-293-4/+4
|/ | | | | | | | As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
* Added version 2.6.6 to change log.Waylan Limberg2016-05-251-0/+2
| | | Fixes #475.
* Merge pull request #476 from adamchainz/readme_link_changelogWaylan Limberg2016-05-081-0/+2
|\ | | | | README - add link to changelog
| * README - add link to changelogAdam Chainz2016-05-081-0/+2
|/ | | | Fixes #474. Makes it a bit easier to find the changelog.
* Merge branch 'master' of https://github.com/waylan/Python-MarkdownWaylan Limberg2016-04-113-2/+15
|\
| * Merge pull request #469 from martinmo/fenced-code-no-pygmentsWaylan Limberg2016-04-112-0/+13
| |\ | | | | | | Support CodeHilite option use_pygments in fenced_code
| | * Support CodeHilite option use_pygments in fenced_codeMartin Morgenstern2016-04-111-0/+1
| | |
| | * Test if fenced_code honors CodeHilite option use_pygmentsMartin Morgenstern2016-04-111-0/+12
| |/
| * Merge pull request #466 from sblondon/masterWaylan Limberg2016-03-301-2/+2
| |\ | | | | | | Fix lazy ordered list example in documentation
| | * Fix lazy ordered list example in documentationsblondon2016-03-301-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation is not accurate when lazy_ol=False parameter is called. The example shows the 'start' attribute to the first <li> tag. However, the attribute is in the <ol> tag: >>> import markdown >>> s = """ ... 4. Apples ... 5. Oranges ... 6. Pears""" >>> markdown.markdown(s, lazy_ol=False) u'<ol start="4">\n<li>Apples</li>\n<li>Oranges</li>\n<li>Pears</li>\n</ol>' The behaviour of the library is the correct one (https://developer.mozilla.org/fr/docs/Web/HTML/Element/ol), so the documentation need to be fixed, not the library.
* / Remove unnessecary if statement.Waylan Limberg2016-04-111-5/+1
|/ | | | | | The statement will never evaluate False, so its not needed. Also, Unicode is not valid for PY3, so its better to not include it. Fixes #470.
* Upped version to 2.6.6.2.6.6-finalWaylan Limberg2016-03-201-1/+1
|
* Merge pull request #462 from waylan/toc_bugWaylan Limberg2016-03-172-1/+74
|\ | | | | Toc bug
| * toc: Remove children from header element after iteratingDmitry Shachnev2016-03-171-1/+2
| | | | | | | | Removing items while iterating can result in wrong behavior. Refs #461.
| * Add single inline code toc testsStephan Groß2016-03-171-4/+33
| |
| * Add toc permalink testsStephan Groß2016-03-171-0/+28
| |
| * Add failing toc testStephan Groß2016-03-171-0/+15
|/
* Make TestCodeHilite work with Pygments ≥ 2.1.1Dmitry Shachnev2016-03-031-3/+3
| | | | | | | | New versions of Pygments insert <span></span> blocks in the beginning of the generated output sometimes [1], so we need to remove those blocks before doing the actual checking. [1]: https://bitbucket.org/birkenfeld/pygments-main/commits/164574c13533
* Fix for exceptions handling in HtmlOutput’s formatErr methodDmitry Shachnev2016-03-031-0/+2
| | | | | | | Now it should no longer print internal errors instead of intended ones on Python 3. Thanks to Maurice van der Pot for finding this fix.
* Added a few empty lines in the test to satisfy flake8Maurice van der Pot2016-02-271-0/+3
|
* Added assertStartsWith to tests to give better failure messagesMaurice van der Pot2016-02-271-27/+37
| | | | | The failure printed when self.assertTrue was used with str.startswith did not show the string that was being searched.
* Improve RawHtmlProcessor to have linear iso quadratic performanceMaurice van der Pot2016-02-261-7/+10
|
* Enabled pygments based tests.Waylan Limberg2016-01-282-36/+14
| | | | | | Added pygments to test-requirements and updated codehiliting tests to only test partial output as output differs depending on Pygments version. Fixes #453
* Remove Py32 tests from travis, not tox.Waylan Limberg2016-01-282-2/+1
| | | | That way py32 tests can still be run locally. Just not on the CI server.
* No longer test Python 3.2Waylan Limberg2016-01-281-1/+1
| | | Pip version 8 dropped support for Python 3.2 and by testing it we are getting errors (related to pip, not Markdown) on that version only. Removing the Py32 tests for now so our automated tools continue to work.
* Remove downloadcache tox config value.Waylan Limberg2016-01-281-2/+1
| | | The `downloadcache` config value is deprecated by tox and the related `--download-cache` flag is removed on pip version 8.0 (deprecated in 6.0). With this change tests should run with the lasted versions of all tools (they do not without it).
* Added Issue Stats badgeWaylan Limberg2015-12-251-0/+1
|
* Updated change_logWaylan Limberg2015-11-241-0/+2
|
* Upped version to 2.6.5.2.6.5-finalWaylan Limberg2015-11-241-1/+1
|
* Switch Travis to new infrastructure for faster build.Waylan Limberg2015-11-171-4/+6
|
* Merge pull request #441 from mitya57/masterWaylan Limberg2015-11-073-2/+23
|\ | | | | Fix #440 (Tables extension drops characters after code spans)
| * Fix handling of characters after backtick in tables.Dmitry Shachnev2015-11-071-1/+1
| | | | | | | | Fixes #440. Thanks @jandecaluwe for the bug report.
| * Add a failing testcase for issue #440.Dmitry Shachnev2015-11-072-1/+22
|/
* Upped to version 2.6.4.2.6.4-finalWaylan Limberg2015-11-062-1/+3
|
* Ensure InlinePatterns don't drop newlines.Waylan Limberg2015-11-063-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.2.6.3-finalWaylan Limberg2015-10-262-1/+3
|
* Merge pull request #437 from MustafaHaddara/table-inline-codeWaylan Limberg2015-10-264-4/+134
|\ | | | | Table inline code
| * Fixed handling of table cell splitMustafa Haddara2015-10-244-4/+134
| |
* | Coverage 4.0 dropped support for Python 3.2. Until we drop Python 3.2, we ↵Waylan Limberg2015-10-261-1/+1
|/ | | | must stick with coverage<4.0.
* Merge pull request #432 from facelessuser/masterWaylan Limberg2015-09-053-4/+16
|\ | | | | Fix infinite loop #430
| * Fix infinite loop #430facelessuser2015-09-043-4/+16
|/ | | | | | | | | 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.
* Merge pull request #429 from Tigge/patch-1Waylan Limberg2015-08-293-1/+21
|\ | | | | Fix find footnote placeholder to recurse
| * Fix find footnote placeholder to recurseGustav Tiger2015-08-293-1/+21
|/
* Merge pull request #419 from mitya57/masterWaylan Limberg2015-06-205-12/+16
|\ | | | | Use a different approach to fix the smarty bug
| * Add a test for duplicate angled quotes without smarty extensionDmitry Shachnev2015-06-202-1/+4
| |
| * Override regex for html inline pattern when smart_angled_quotes is trueDmitry Shachnev2015-06-201-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-06-192-2/+2
| |
| * Revert "smarty: Use a separate processor for angled quotes"Dmitry Shachnev2015-06-191-8/+4
| | | | | | | | | | | | | | That commit caused a regression where `<<` and `>>` inside code blocks were wrongly replaced with double quotes. This reverts commit 5029d829c1532f31adc9acbf54d88bb469a69a4f.