diff options
author | Waylan Limberg <waylan@gmail.com> | 2014-02-13 12:56:04 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2014-02-13 12:56:04 -0500 |
commit | fefe904ca9175ab390a8a0868e810a41945cdd8f (patch) | |
tree | 4bcd935d76e272ce8721ef3d1416e34ff0add1df /docs/release-2.4.txt | |
parent | 9bfdc1b45d889c419379afd35a6d463e99dad2df (diff) | |
parent | 63720f2c05b8c82713fa0237f4d3242c9e7d32dc (diff) | |
download | markdown-fefe904ca9175ab390a8a0868e810a41945cdd8f.tar.gz markdown-fefe904ca9175ab390a8a0868e810a41945cdd8f.tar.bz2 markdown-fefe904ca9175ab390a8a0868e810a41945cdd8f.zip |
Merge pull request #287 from mitya57/master
Release Notes and a fix for Smarty
Diffstat (limited to 'docs/release-2.4.txt')
-rw-r--r-- | docs/release-2.4.txt | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/docs/release-2.4.txt b/docs/release-2.4.txt index 78b78be..437864a 100644 --- a/docs/release-2.4.txt +++ b/docs/release-2.4.txt @@ -23,7 +23,11 @@ documentation for the [CodeHilite Extension] for an explanation of the new is set, but "force_linenos" will raise a DeprecationWarning and will likely be removed in a future version of Python-Markdown. -[CodeHilite Extension]: extensions/codehilite.html +[CodeHilite Extension]: extensions/code_hilite.html + +* URLs are no longer percent-encoded. This improves compatibility with the +original (written in Perl) Markdown implementation. Please percent-encode +your URLs manually when needed. What's New in Python-Markdown 2.4 --------------------------------- @@ -39,6 +43,35 @@ it out and report bugs and/or improvements. [Smarty Extension]: extensions/smarty.html [SmartyPants]: http://daringfireball.net/projects/smartypants/ +* The [Table of Contents Extension] now supports new `permalink` option +for creating [Sphinx]-style anchor links. + +[Table of Contents Extension]: extensions/toc.html +[Sphinx]: http://sphinx-doc.org/ + +* It is now possible to enable Markdown formatting inside HTML blocks by +appending `markdown=1` to opening tag attributes. See [Markdown Inside HTML +Blocks] section for details. Thanks to [ryneeverett] for implementing this +feature. + +[Markdown Inside HTML Blocks]: extensions/extra.html#nested-markdown-inside-html-blocks +[ryneeverett]: https://github.com/ryneeverett + +* The code blocks now support emphasizing some of the code lines. To use this +feature, specify `hl_lines` option after language name, for example (using +the [Fenced Code Extension]): + + ```.python hl_lines="1 3" + # This line will be emphasized. + # This one won't. + # This one will be also emphasized. + ``` + + Thanks to [A. Jesse Jiryu Davis] for implementing this feature. + +[Fenced Code Extension]: extensions/fenced_code_blocks.html +[A. Jesse Jiryu Davis]: https://github.com/ajdavis + * Various bug fixes have been made. See the [commit log](https://github.com/waylan/Python-Markdown/commits/master) for a complete history of the changes. |