diff options
| author | Shrikant Sharat Kandula <shrikantsharat.k@gmail.com> | 2022-05-09 18:26:10 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-09 08:56:10 -0400 |
| commit | 9d90d47157f4348ad70f1a070571de87efbc6cbc (patch) | |
| tree | 6f412828fe645bda6b2557cc5c531ed40bc3ab6d /docs/change_log | |
| parent | 93d17b9cc4a3f53dc2059e44a691a28797422d21 (diff) | |
| download | python-markdown-9d90d47157f4348ad70f1a070571de87efbc6cbc.tar.gz | |
Support for custom Pygments formatter
This adds configuration support for using a custom Pygments formatter,
either by giving the string name, or a custom formatter class (or
callable).
Diffstat (limited to 'docs/change_log')
| -rw-r--r-- | docs/change_log/release-3.4.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/change_log/release-3.4.md b/docs/change_log/release-3.4.md index 025d443..6dc8401 100644 --- a/docs/change_log/release-3.4.md +++ b/docs/change_log/release-3.4.md @@ -32,7 +32,7 @@ In addition, tests were moved to the modern test environment. ## New features -The following new features have been included in the 3.3 release: +The following new features have been included in the 3.4 release: * Use `style` attribute in tables for alignment instead of `align` for better CSS inter-operation. The old behavior is available by setting `use_align_attribute=True` when @@ -55,6 +55,12 @@ The following new features have been included in the 3.3 release: parameter which can be used to set the CSS class(es) on the `<div>` that contains the Table of Contents (#1224). +* The Codehilite extension now supports a `pygments_formatter` option that can be set to + use a custom formatter class with Pygments. + - If set to a string like `'html'`, we get the default formatter by that name. + - If set to a class (or any callable), it is called with all the options to get a + formatter instance. + ## Bug fixes The following bug fixes are included in the 3.4 release: |
