summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* legacy_attr => legacy_attrs. (#870)NNRepos2019-10-294-6/+6
| | | Fixes #868.
* Add support for Python 3.8 (#867)Hugo van Kemenade2019-10-244-2/+7
| | | Related to #760.
* Drop support for Python 2.7 (#865)Hugo van Kemenade2019-10-2460-255/+132
| | | | | | | * Python syntax upgraded using `pyupgrade --py3-plus` * Travis no longer uses `sudo`. See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration See #760 for Python Version Support Timeline and related dicussion.
* Always wrap CodeHilite code in <code> tags (#862)Tim Martin2019-09-304-16/+42
| | | Pygments added the `wrapcode` option in version 2.4. Users need to have 2.4+ installed to see the change. However, as earlier versions accepted arbitrary keywords passed to the HTMLFormatter, no error will be raised if the user has an older version of Pygments installed.
* Close code tagOskar Sharipov2019-09-161-0/+1
|
* Document PyPy support in setup.pyjohnthagen2019-09-131-0/+2
|
* Separate Markdown parsing in HTML to separate extension (#859)Isaac Muse2019-09-048-200/+259
| | | | | Move Markdown parsing from the extra extension to a separate extension called md_in_html.
* Refactor em strong to consolidate code and fix issue #792Isaac Muse2019-09-036-17/+279
|
* fix: Typo (#857)Patrick Browne2019-08-311-1/+1
|
* Optimize HTML_RE from quadratic time to linear (#804)Anders Kaseorg2019-08-144-25/+32
| | | | | | Remove misleading escaped_chars_in_js test Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Added trivial examples to extension docsJamie Scott2019-08-0116-2/+98
| | | | Fixes #854.
* Add a JSON config file example for the CLI docssleepyhollo2019-07-151-1/+15
|
* Update extra.mdMatt Sephton2019-06-251-1/+1
|
* fix(typo): successfullyСаша Черных2019-06-161-1/+1
| | | | | | | | | | | | | ### 1. Summary I fix a typo in a word “successfully”. ### 2. Argumentation + [**Cambridge Dictionary**](https://dictionary.cambridge.org/dictionary/english/successfully) + [**Merriam-Webster**](https://www.merriam-webster.com/dictionary/successful) + [**Lexico (powered by Oxford)**](https://www.lexico.com/en/definition/successfully) Thanks.
* Use more specific asserts throughout testsJon Dufresne2019-06-132-26/+26
| | | | | | | | | | | | | | | | In the event that a test fails, a more specific assert will usually provide more useful information about what went wrong. Prefer assertIs(..., True) over assertTrue() to assert the type as well as the truthy value. This is recommended by Python: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertTrue > Note that this is equivalent to bool(expr) is True and not to expr is > True (use assertIs(expr, True) for the latter). This method should > also be avoided when more specific methods are available (e.g. > assertEqual(a, b) instead of assertTrue(a == b)), because they provide > a better error message in case of failure.
* Use https:// links where availableJon Dufresne2019-06-1237-74/+74
|
* Update all pypi.python.org URLs to pypi.orgJon Dufresne2019-06-122-2/+2
| | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* Use skip_install=true for lint targetsJon Dufresne2019-06-121-0/+3
| | | | | | | | | | | | | | | Avoids installing the package (and any potential dependencies) to the virtualenv before running lint or static commands. The package is not required to be installed to do simple static code analysis. Results in a slightly faster run, as fetching and installing dependencies is skipped. For additional information on the configuration option, see: https://tox.readthedocs.io/en/latest/config.html#confval-skip_install=BOOL > Do not install the current package. This can be used when you need the > virtualenv management but do not want to install the current package > into that environment.
* Enable pip cache in Travis CIJon Dufresne2019-06-121-0/+1
| | | | | | | | Reduce load on PyPI servers and slightly speed up builds. For more information, see: https://docs.travis-ci.com/user/caching/#pip-cache
* Bump version to 3.1.13.1.1Waylan Limberg2019-05-202-2/+2
|
* Ensure clean buildsWaylan Limberg2019-05-201-0/+3
| | | | | Not deleting the `build` dir before a new build could result in a dirty build. See pypa/wheel#297.
* Prefer public packaging module to pkg_resources' private copy of it (#826)Dmitry Shachnev2019-05-162-1/+6
| | | | | | Some distributions of `pkg_resources` remove the vendored copy of `packaging. Additionally, the vendored copy is not publicly documented and should not be relied on exclusively. Regardless, if `pkg_resources` is installed at all, then we can be fairly certain one of `packaging` or `pkg_resources._vendor.packaging` will be available. That being the case, there is no need to list `packaging` as a dependency. Fixes #825.
* Comply with PEP517 (#824)Dmitry Shachnev2019-05-156-36/+85
| | | | | | | | Add pep517check environment to tox Split version info into a separate file, load it using importlib Fixes #823.
* Bump version to 3.13.1Waylan Limberg2019-03-252-2/+2
|
* Fix TOC docsWaylan Limberg2019-03-251-7/+7
|
* Update CLI to support PyYAML 5.1Waylan Limberg2019-03-142-3/+12
| | | | | | | This should avoid any warnings. We use `unsafe_load` because users may need to pass in actual Python objects. As this is only available from the CLI, the user has much worse problems if an attacker can use this as an attach vector.
* Optimize several regexes from quadratic time to linear timeAnders Kaseorg2019-03-062-6/+6
| | | | | | Part of the discussion in #798. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Remove references to mailing list.Waylan Limberg2019-03-043-9/+4
| | | | Fixes #793.
* Drop Python3.4 Support (#796)Waylan Limberg2019-03-044-10/+6
| | | Python is dropping support for PY3.4 on 2019-03-16. Therefore we are dropping support as well. See #760.
* Add support for a range to toc_depth.Klaus Mueller2019-02-224-10/+85
| | | | Closes #786.
* Handle overlapping raw HTML matches (#770)Philip Trauner2019-02-073-3/+62
| | | | | Recursively run substitution to handle overlapping matches. Fixes #458.
* Add `whitespace` to spelling dictionaryWaylan Limberg2019-02-071-0/+1
| | | In computing, `whitespace` is a word. See https://en.wikipedia.org/wiki/Whitespace_character.
* Emphasis pattern treats newlines as whitespace (#785)Waylan Limberg2019-02-073-1/+88
| | | | | | All whitespace characters should be treated the same by inline patterns. Previoulsy, emphasis patterns were only accounting for spaces, but not other whitepsace characters such as newlines. Fixes #783.
* Document "process" label.Waylan Limberg2019-01-231-0/+4
| | | Document a new label type for issues and PR which include discussions regarding policies and development process. See #760 for an example.
* Allow hashes to be escaped in headers (#763)Isaac Muse2018-12-223-1/+22
| | | | | Adjust pattern to allow for escaped hashes, but take care to not treat escaped escapes before hashes as escaped hashes. Close #762.
* Use a PEP562 implementation for deprecating attributes (#757)Isaac Muse2018-12-226-61/+271
| | | Use a vendored Pep562 backport to simulate Python 3.7's new PEP 562 feature. For Python3.7 and later, default to the official implementation.
* Fix typos in tests namesDmitry Shachnev2018-12-191-3/+3
|
* Clarify in docs that a high value corresponds to high extension priority (#756)Maurice van der Pot2018-11-181-2/+3
| | | This fixes #755
* Improve CI / testing (#754)Daniel Hahler2018-11-154-18/+21
| | | | | | | | | | | | | | | | | | | | * Use "testing" extras_require This centralized testing requirements and allows for `pip install -e .[testing]` etc. pytidylib is kept separate according to https://github.com/Python-Markdown/markdown/pull/754/files#r233561159. * Travis: simplify installation of deps * Travis: use xenial by default, trusty for py34 * Travis: codecov: use flags * Travis: only install aspell for checkspelling job * Remove coverage version restriction
* add: use stacklevel=2 with warningDaniel Hahler2018-11-141-3/+9
|
* Document third-party apps offer alternate list behaviorSimon Lydell2018-11-061-1/+3
|
* Collapse all whitespace in reference ids (#743)Isaac Muse2018-10-303-1/+39
| | | Previously only newlines preceded by whitespace were collapsed. Fixes #742.
* Create 3.1 release notes.Waylan Limberg2018-10-254-6/+47
|
* Deprecate version and version_info (#740)Isaac Muse2018-10-254-5/+114
| | | | This essentially implements the closest we can get to PEP 562 which allows for modules to control `__dir__` and `__getattr__` in order to deprecate attributes. Here we provide a wrapper class for the module in `util`. If a module has attributes that need to deprecated, we derive from the wrapper class and define the attributes as functions with the `property` decorator and the provided `deprecated` decorator. The class is instantiated with the module's `__name__` attribute and the class will properly replace the module with the wrapped module. When accessing the depracted attributes, a warning is raised. Closes #739.
* Add contributing guide. (#732)Waylan Limberg2018-10-253-0/+554
|
* Auto-include version in docs.Waylan Limberg2018-10-211-1/+1
| | | | | Its too easy to forget to update the Markdown version manually in the docs config. This ensures it is included automatically.
* pyproject.toml: Bump minimal setuptools version to 36.6Dmitry Shachnev2018-10-211-1/+1
| | | | This is the version where setuptools.build_meta was introduced.
* Up version to 3.1.dev0 (#736)Waylan Limberg2018-10-215-19/+34
| | | | | | | | Update version format to be PEP 440 compliant in preparation for #732. Add `pyproject.toml` file and configure tox to use it. Define requirement for `setuptools>=36` which validates and normalizes the version format.
* Fixed typo.Marios Zindilis2018-10-141-1/+1
|
* Ensure block elements are defined per instancefacelessuser2018-10-092-12/+24
| | | | Block level elements should be defined per instance, not as base class variables.