summaryrefslogtreecommitdiff
path: root/docs/change_log
Commit message (Collapse)AuthorAgeFilesLines
* Use pyspelling to check spelling.Waylan Limberg2023-04-062-4/+4
| | | In addition to checking the spelling in our documentation, we are now also checking the spelling of the README.md and similar files as well as comments in our Python code.
* Restore console script.Waylan Limberg2023-03-231-0/+4
| | | | Fixes #1327.
* Bump version to 3.4.23.4.2Waylan Limberg2023-03-221-1/+1
|
* Switch from setup.py to pyproject.toml (#1324)Waylan Limberg2023-03-221-2/+3
|
* Officially support Python 3.11 (#1313)Waylan Limberg2022-12-091-0/+1
| | | Python 3.11 was released 2023-10-02.
* Consider <html> a block-level HTML element (#1309)kernc2022-12-021-0/+1
|
* Improve standalone * and _ parsing.Waylan Limberg2022-11-151-0/+4
| | | | | | | | | | | The `NOT_STRONG_RE` regex matchs 1, 2, or 3 * or _ which are surrounded by white space to prevent them from being parsed as tokens. However, the surrounding white space should not be consumed by the regex, which is why lookhead and lookbehind assertions are used. As `^` cannot be matched in a lookbehind assertion, it is left outside the assertion, but as it is zero length, that should not matter. Tests added and/or updated to cover various edge cases. Fixes #1300.
* Fix import issue with importlib.utilWaylan Limberg2022-07-151-0/+4
| | | | Fixes #1274.
* Bump version to 3.43.4Waylan Limberg2022-07-152-38/+44
| | | Cleaned up the release notes.
* Move backslash unescaping to treeprocessorWaylan Limberg2022-07-151-1/+9
| | | | | | | | | | By unescaping backslash escapes in a treeprocessor, the text is properly escaped during serialization. Fixes #1131. As it is recognized that various third-party extensions may be calling the old class at `postprocessors.UnescapePostprocessor` the old class remains in the codebase, but has been deprecated and will be removed in a future release. The new class `treeprocessors.UnescapeTreeprocessor` should be used instead.
* fixed some spelling mistakesBastian Venthur2022-06-171-1/+1
|
* Remove previously deprecated objectsWaylan Limberg2022-05-271-0/+28
| | | This completely removes all objects which were deprecated in version 3.0 (this change will be included in version 3.4). Given the time that has passed, and the fact that older unmaintained extensions are not likely to support the new minimum Python version, this is little concern about breaking older extensions.
* Update PrettifyTreeprocessor `<pre><code>` handlingfourpoints2022-05-271-1/+1
| | | Fixes #1263.
* Add None check to PrettifyTreeprocessorfourpoints2022-05-251-0/+1
| | | Fixes #1261.
* Drop support for PY36Waylan Limberg2022-05-241-1/+1
| | | | | | | | Python dropped support on 2021-12-23. Our policy (#760) is to drop support on the next point release after Python does. * Remove py36 tests * Test multiple recent versions of pypy * Remove pep562 backport
* Only enumerate extension entry points when requiredAarni Koskela2022-05-241-0/+2
|
* Pass language to Pygments formatter in CodeHiliteLiang-Bo Wang2022-05-181-3/+5
| | | | | | | | * Add an extra option `lang_str` to pass the language of the code block to the specified Pygments formatter. * Include an example custom Pygments formatter in the documentation that includes the language of the code in the output using the new option. Resolves #1255.
* Support for custom Pygments formatterShrikant Sharat Kandula2022-05-091-1/+7
| | | | | This adds configuration support for using a custom Pygments formatter, either by giving the string name, or a custom formatter class (or callable).
* Support custom CSS class on TOC elementJannis Vajen2022-05-051-0/+4
| | | Closes #1224
* Footnotes improvementsysard2022-05-051-3/+15
| | | | | | | | | | | | | * footnotes: Allow to use backlink title without footnote number - The placeholder '{}' is optional. So a user can choose to include or not the footnote number in the backlink text. - The modification is backward compatible with configurations using the old '%d' placeholder. * footnotes: Allow to use custom superscript text - The addition of a new SUPERSCRIPT_TEXT option allows to specify a placeholder receiving the footnote number for the superscript text.
* Update th/td to use style attributeGaige B Paulsen2022-05-052-0/+46
| | | | | | | | | | This allows better interoperation with CSS style sheets, as the align object on the TH is skipped if the css uses 'text-align: inherit' and the previous 'text-align' is used instead (or the default: left). Added an override to restore the original `align` behavior Moved existing tests to the new test infrastructure Added new tests to test the configuration parameter Updated documentation to document the configuration parameter.
* Bump version to 3.3.73.3.7Waylan Limberg2022-05-051-1/+1
|
* Ensure fenced code attributes are properly escaped.Waylan Limberg2022-05-041-0/+1
| | | Fixes #1247.
* extensions: copy config dict on each highlighted blockGert van Dijk2022-04-181-0/+1
| | | | | | | | | This fixes a bug where any subsequent highlighted block with codehilite would result in the omission of the style setting, because it was popped off the dict. It would then fall back to pygments_style 'default' after the first block. Fixes #1240
* Disallow square brackets in reference link ids.Waylan Limberg2022-01-101-0/+4
| | | | | | We already disallow right square brackets. This also disallows left square brackets, which ensures link references will be less likely to collide with standard links in some weird edge cases. Fixes #1209.
* Bump version to 3.3.63.3.6Waylan Limberg2021-11-171-0/+4
|
* Bump version to 3.3.53.3.5Waylan Limberg2021-11-161-1/+1
|
* Support Python 3.10Waylan Limberg2021-11-161-0/+1
| | | Fixes #1124.
* Ensure <summary> tags are parsed correctly.Waylan Limberg2021-11-031-0/+1
| | | | Fixes #1079.
* Fix one more misplaced changelog entryDmitry Shachnev2021-08-112-2/+2
| | | | | | PR #1102 was included in 3.3.4, not 3.3.0. Also fix a typo in another changelog entry.
* Improve email address validation for Automatic LinksCarlos2021-08-111-2/+3
|
* Fix changelog entry in wrong placefacelessuser2021-08-092-1/+1
| | | | | Changelog entry from hash e11cd255cae5fd3c5ef5fdd6352cd28e212fd328 was placed in the wrong place.
* Re-use compiled regex for block level checksHebaruSan2021-08-091-0/+1
|
* Don't process shebangs in codehilite when processing fenced codeIsaac Muse2021-08-041-0/+1
| | | Fixes #1156.
* Better toc detectionCharles de Beauchesne2021-07-271-0/+1
| | | Fixes #1160.
* toc: Do not remove diacritical marks when slugify_unicode is usedDmitry Shachnev2021-03-241-0/+4
| | | | | | | Update the existing test and add a new one to make sure that the behavior of default slugify function has not changed. Fixes #1118.
* Bump version to 3.3.43.3.4Waylan Limberg2021-02-241-1/+1
|
* Ensure permalinks and ankorlinks are not restricted by toc_depthWaylan Limberg2021-02-241-0/+1
| | | | | | | | | | | | This fixes a regression which was introduced with support for toc_depth. Relevant tests have been moved and updated to the new framework. Fixes #1107. The test framework also received an addition. The assertMarkdownRenders method now accepts a new keyword expected_attrs which consists of a dict of attrs and expected values. Each is checked against the attr of the Markdown instance. This was needed to check the value of md.toc and md.toc_tokens in some of the included tests.
* Ensure admonition content is detabbed properlyIsaac Muse2021-02-051-0/+1
|
* Preserve text immediately before an admonitionOleh Prypin2020-12-301-0/+1
|
* Use simplified regex for html placeholders (#1086)Waylan Limberg2020-12-081-0/+1
| | | Co-authored-by: Reilly Raab <raabrp@gmail.com>
* Properly parse unclosed tags in code spansWaylan Limberg2020-11-231-0/+1
| | | | | | | * fix unclosed pi in code span * fix unclosed dec in code span * fix unclosed tag in code span Closes #1066.
* Properly parse processing instructions in md_in_htmlWaylan Limberg2020-11-191-0/+1
| | | | | | | Empty tags do not have a `mardkown` attribute set on them. Therefore, there is no need to check the mdstack to determine behavior. If we are in any md_in_html state (regardless of block, span, etc) the behavior is the same. Fixes #1070.
* Properly parse code spans in md_in_html (#1069)Waylan Limberg2020-11-181-0/+4
| | | | | | | | | | This reverts part of 2766698 and re-implements handling of tails in the same manner as the core. Also, ensure line_offset doesn't raise an error on bad input (see #1066) and properly handle script tags in code spans (same as in the core). Fixes #1068.
* Bump version to 3.3.33.3.3Waylan Limberg2020-10-251-1/+1
|
* Fix issues related to hr tagsIsaac Muse2020-10-241-0/+1
| | | | | | | | | | | Ensure that start/end tag handler does not include tags in the previous paragraph. Provide special handling for tags like hr that never have content. Use sets for block tag lists as they are much faster when comparing if an item is in the list. Fixes #1053.
* Avoid catastrophic backtracking in `hr` regexWaylan Limberg2020-10-241-0/+1
| | | | Fixes #1055.
* Ensure when tag text is None that it is converted to empty stringIsaac Muse2020-10-211-0/+1
| | | Fixes #1049
* Unify all block-level tags. (#1048)Waylan Limberg2020-10-201-0/+4
| | | | | | Use the list of tags defined in the core by the md_in_html extension. This ensures that the lists do not diverge and allows users and/or extensions to expand the list in the core and have that change affect the extension. Fixes #1047.
* Bump version to 3.3.23.3.2Waylan Limberg2020-10-191-0/+5
|