diff options
Diffstat (limited to 'docs/change_log/release-3.4.md')
-rw-r--r-- | docs/change_log/release-3.4.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/change_log/release-3.4.md b/docs/change_log/release-3.4.md index 6dc8401..7a30de5 100644 --- a/docs/change_log/release-3.4.md +++ b/docs/change_log/release-3.4.md @@ -10,7 +10,7 @@ PyPy3. ### The `table` extension now uses a `style` attribute instead of `align` attribute for alignment. The [HTML4 spec][spec4] specifically -deprecates the use of the `align` attribute and it does not appear at all in the +deprecates the use of the `align` attribute and it does not appear at all in the [HTML5 spec][spec5]. Therefore, by default, the [table] extension will now use the `style` attribute (setting just the `text-align` property) in `td` and `th` blocks. @@ -55,8 +55,10 @@ The following new features have been included in the 3.4 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. +* The CodeHilite extension now supports a `pygments_formatter` option that can be set to + use a custom formatter class with Pygments (#1187). Additionally, the specified + Pygments formatter is passed an extra option `lang_str` to denote the language of + the code block (#1258). - 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. |