summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 3.2.0.3.2Waylan Limberg2020-02-062-9/+12
|
* Link test tools and development env documentation.Waylan Limberg2020-02-062-7/+14
| | | Resolves #892.
* Simplify xml.etree.ElementTree loading (#902)Dmitry Shachnev2020-02-032-16/+20
| | | | | | | | cElementTree is a deprecated alias for ElementTree since Python 3.3. Also drop the recommendation to import etree from markdown.util, and deprecate markdown.util.etree.
* Add permalink_title option (#886)Waylan Limberg2019-11-262-6/+17
| | | | | Addes a new `permalink_title` option to the TOC extension, which allows the title attribute of a permalink to be set to something other than the default English string "Permanent link". Fixes #781.
* Add anchorlink_class and permalink_class options to TOCWaylan Limberg2019-11-262-0/+12
| | | | | | | | | Two new configuration options have been added to the toc extension: `anchorlink_class` and `permalink_class` which allows class(es) to be assigned to the `anchorlink` and `permalink` HTML respectively. This allows using icon fonts from CSS for the links. Therefore, an empty string passed to `permalink` now generates an empty `permalink`. Previously no `permalink` would have been generated. Based on #776.
* Document thread safety (#882)Waylan Limberg2019-11-252-2/+9
| | | | | Fixed #812.
* legacy_attr => legacy_attrs. (#870)NNRepos2019-10-293-5/+5
| | | Fixes #868.
* Add support for Python 3.8 (#867)Hugo van Kemenade2019-10-241-1/+3
| | | Related to #760.
* Drop support for Python 2.7 (#865)Hugo van Kemenade2019-10-242-6/+11
| | | | | | | * 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-302-6/+31
| | | 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
|
* Separate Markdown parsing in HTML to separate extension (#859)Isaac Muse2019-09-044-129/+154
| | | | | 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-031-0/+34
|
* fix: Typo (#857)Patrick Browne2019-08-311-1/+1
|
* 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
|
* Use https:// links where availableJon Dufresne2019-06-1214-35/+35
|
* Update all pypi.python.org URLs to pypi.orgJon Dufresne2019-06-121-1/+1
| | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* Bump version to 3.1.13.1.1Waylan Limberg2019-05-201-1/+1
|
* Prefer public packaging module to pkg_resources' private copy of it (#826)Dmitry Shachnev2019-05-161-0/+2
| | | | | | 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-151-0/+5
| | | | | | | | 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-251-1/+1
|
* Fix TOC docsWaylan Limberg2019-03-251-7/+7
|
* Update CLI to support PyYAML 5.1Waylan Limberg2019-03-141-0/+1
| | | | | | | 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.
* Remove references to mailing list.Waylan Limberg2019-03-041-3/+1
| | | | Fixes #793.
* Drop Python3.4 Support (#796)Waylan Limberg2019-03-041-4/+4
| | | 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-222-6/+18
| | | | Closes #786.
* Handle overlapping raw HTML matches (#770)Philip Trauner2019-02-071-0/+1
| | | | | Recursively run substitution to handle overlapping matches. Fixes #458.
* Emphasis pattern treats newlines as whitespace (#785)Waylan Limberg2019-02-071-0/+1
| | | | | | 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-221-0/+1
| | | | | Adjust pattern to allow for escaped hashes, but take care to not treat escaped escapes before hashes as escaped hashes. Close #762.
* Clarify in docs that a high value corresponds to high extension priority (#756)Maurice van der Pot2018-11-181-2/+3
| | | This fixes #755
* Document third-party apps offer alternate list behaviorSimon Lydell2018-11-061-1/+3
|
* Collapse all whitespace in reference ids (#743)Isaac Muse2018-10-301-0/+1
| | | Previously only newlines preceded by whitespace were collapsed. Fixes #742.
* Create 3.1 release notes.Waylan Limberg2018-10-253-6/+46
|
* Deprecate version and version_info (#740)Isaac Muse2018-10-251-0/+9
| | | | 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-251-0/+545
|
* Fixed typo.Marios Zindilis2018-10-141-1/+1
|
* foot note adjustments (#728)Isaac Muse2018-10-091-0/+3
| | | | | | Add a config to set the footnote separator. Also remove rel/rev as they aren't really compatible with HTML5 and we already have classes set for refs and backrefs. Fixes 723.
* Bump version to 3.0.13.0.1Waylan Limberg2018-09-261-0/+5
|
* Bump version to 3.03.0Waylan Limberg2018-09-211-1/+1
|
* Support custom labels in TOC. (#700)Waylan Limberg2018-09-052-1/+74
| | | | | | | | New `toc_tokens` attribute on Markdown class. Contains the raw tokens used to build the Table of Contents. Users can use this to build their own custom Table of Contents rather than needing to parse the HTML available on the `toc` attribute of the Markdown class.
* Update 3.0 release notesWaylan Limberg2018-08-0317-190/+421
| | | | And other docs cleanup.
* Add toc_depth parameter to toc extensionJesús Fernández2018-07-241-0/+8
|
* Add the possibility to set additional classesWhiteWinterWolf2018-07-241-2/+20
| | | | | | | | | | | | | | | | | Additional CSS classes names can be appended to the admonition name using spaces as separators. The following markdown: !!! note floatright This is a floating note. Generates the following HTML code: <div class="admonition note floatright"> <p class="admonition-title">Note</p> <p>This is a floating note.</p> </div>
* Moved enable_attributes keyword to extension: legacy_attrs.Waylan Limberg2018-07-241-4/+0
| | | | | | | 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. Closes #643. Work adapted from 0005d7a of the md3 branch.
* typo fix in nl2br.md (#673)Vyacheslav Matyukhin2018-06-231-1/+1
|
* Fix formatting in fenced code block exampleDmitry Shachnev2018-06-051-2/+2
|
* Fix typosJakub Wilk2018-02-174-10/+10
|