Changelog
5.0.0
- NEW: Add validator to custom fences so custom options can be used. (!350)
- NEW: Add global
linenums_specialoption to Highlight extension. Can be overridden per fence in SuperFences. (!360) - NEW: Add
linenums_styleoption to set line number output to Pygmentstableorinlineformat. Also provide a custompymdownx-inlineformat for more sane inline output in regards to copy and paste. See Highlight documentation for more info. (!360) - NEW: Remove deprecated Github and PlainHTML extension. Remove deprecated Arithmatex option
insert_as_scriptand deprecated MagicLink optionbase_repo_url. - FIX: Add workaround in Highlight extension for line number alignment issues in Pygments with certain
stepvalues. (!360)
4.12.0
- NEW: Add option to fail if specified snippet isn't found. (#335)
- FIX: Windows issue with
preserve_tabsoption in SuperFences. (#328)
4.11.0
Jun 10, 2018
- NEW: Allow Arithmatex's "smart dollar" logic to be turned off via setting the option
smart_dollartoFalse. (#297) - NEW: Add support for tabbed groups in SuperFences.
4.10.2
May 17, 2018
- FIX: Failure with code highlight when guessing is enabled, but a bad language name is provided.
4.10.1
Apr 29, 2018
- FIX: Update Twemoji to 2.6.0 and EmojiOne 3.1.3.
4.10.0
Apr 18, 2018
- NEW: SuperFences now adds experimental support for preserving tabs in fenced code blocks. (#276)
4.9.2
Mar 26, 2018
- FIX: Issues with task lists that span multiple lines. (#267)
- FIX: Require latest Python Markdown.
4.9.1
Mar 18, 2018
- FIX: Output issue when no user and/or repository is specified.
4.9.0
Mar 3, 2018
- NEW: Add option to make task lists editable. (!249)
- FIX: Remove internal references to deprecated options.
4.8.0
Jan 17, 2018
- NEW: Set progress bar class level increments via
progress_incrementinstead of using the hard coded value of20. - FIX: Compatibility changes for next Markdown release.
4.7.0
Dec 8, 2017
- NEW: Bring back generic output for Arithmatex. Now under the
genericoption. (#185) - FIX: StripHTML should allow space before close of opening tag.
- FIX: MagicLink should not auto-link inside a link. (#151)
4.6.0
Dec 2, 2017
- NEW: Arithmatex now just uses the script wrapper output as it is the most reliable output, and now previews can be achieved by providing a span with class
MathJax_Previewthat gets auto hidden when the math is rendered.insert_as_script,tex_inline_wrap, andtex_block_wraphave all been deprecated as they are now entirely unnecessary. A new option has been added calledpreviewthat controls whether the script output generates a preview or not when the rendered math output is loading. Users no longer need to configuretex2jax.jsin there MathJax configuration anymore. (#171) - NEW: PlainHTML has been renamed to StripHTML.
strip_attributesis now a list instead of a string with a default of[].pymdownx.plainhtmlis still available with the old convention for backwards compatibility, but will be removed for version 5.0. (!176) - FIX: PlainHTML has better script and style content avoidance to keep from stripping HTML tags and attributes from style and script content. (!174)
- FIX: PlainHTML can strip attributes that are not quoted. (!174)
4.5.1
Nov 28, 2017
- FIX: If an invalid provider is given, default to
github. If nouserorrepois specified, do not convert links that depend on those default values. (#169)
4.5.0
Nov 26, 2017
- NEW: Add GitLab style compare link shorthand and link shortening. (#160)
- NEW: Deprecate GitHub extension. It is now recommended to just include the extensions you want to create a GitHub feel instead of relying on a an extension to package something close-ish. (#159)
4.4.0
Nov 23, 2017
- NEW: Add social media mentions – Twitter only right now. (#156)
- FIX: Use correct regular expression for GitLab and Bitbucket.
4.3.0
Nov 14, 2017
- NEW: Shorthand format for referencing non-default provider commits, issues, pulls, and mentions. (!147)
- NEW: Shorthand format for mentioning a repo via
@user/repo. (!149) - NEW: Add repository provider specific classes. (!149)
- NEW: Make repository labels configurable. (!149)
- FIX: Adjust pattern boundaries auto-links.
4.2.0
Nov 13, 2017
- NEW: MagicLink can now auto-link a GitHub like shorthand for repository references. (!139)
- NEW: MagicLink now renders pull request links with a slightly different output from issues. (!139)
- NEW: Deprecate
base_repo_urlin MagicLink in favor of the newprovider,user, andrepo. (!139) - NEW: MagicLink now adds classes to repository links. (!139)
- NEW: MagicLink now adds title to repository links. (!139)
- NEW: MagicLink no longer styles repository commit hashes as code. (!143)
- FIX: MagicLink repository link outputs now better reflect default user and repository context. (!143)
- FIX: PlainHTML should not strip tags that are part of JavaScript code. (!140)
4.1.0
Oct 11, 2017
- NEW: Details can now have multiple classes defined.
4.0.0
Aug 29, 2017
- NEW: Details extension will now derive a title from the class if only a class is provided. (#107)
- NEW: Remove deprecated legacy emoji generator format.
- NEW: Remove deprecated
use_codehilite_settings. - NEW: Remove deprecated
spoilersextension redirect. - NEW: Update emoji databases: EmojiOne (3.1.2) and Twemoji to .(2.5.0)
3.5.0
Jun 13, 2017
- NEW: Add new slugs to preserve case. (!103)
- NEW: Add new GFM specific slug (both percent encoded and normal) that only lowercases ASCII chars just like GFM does. (#101)
- FIX: PathConverter should not try and convert obscured email address (with HTML entities). (#100)
- FIX: Don't normalize Unicode in slugs with
NFKD, useNFCinstead. (#98) - FIX: Don't let EscapeAll escape CriticMarkup placeholders. EscapeAll will no longer escape
STXandETX; they will just pass through. (#95) - FIX: Replace CriticMarkup placeholders after replacing raw HTML placeholders. (#95)
3.4.0
Jun 1, 2017
- NEW: Renamed Spoilers to Details
- NEW: No longer attach the
spoilersclass todetailstags. - NEW: Provide better example of UML script in documents.
3.3.0
May 26, 2017
- NEW: Added support for pull request link shortening in MagicLink. (!88)
- NEW: Added new Spoilers extension. (#85)
3.2.1
May 23, 2017
- FIX: Cannot set Highlight's CSS class.
3.2.0
May 15, 2017
- NEW: Add support for Twemoji 2.3.5.
- NEW: Update to EmojiOne 3.0.2.
- NEW: Emoji generators now also take
categorywhich is also no included in all indexes. - FIX: Excessive new lines at end of code blocks.
3.1.0
May 7, 2017
- NEW: Highlight extension now runs normal indented code blocks through highlighter.
- FIX: When Pygments is disabled,
linenumsclass was attached to code blocks even iflinenumswas disabled and not enabled via fence headers.
3.0.0
Apr 16, 2017
- NEW: Added Keys extension.
- NEW: Generalized custom fences (#60).
flowandsequencefence are now just custom fences and can be disabled simply by overwriting thecustom_fencessetting. - NEW: Remove deprecated
no_nl2brin GitHub extension. (#24) - NEW: Remove deprecated HeaderAnchor extension. (#24)
- NEW: Remove deprecated PyMdown extension. (#24)
- NEW: Remove deprecated GitHubEmoji extension. (#24)
- NEW: Remove deprecated
nestedoption in SuperFences. (#24) - NEW: Wrapper extensions (such as GitHub and Extra) can now allow setting the included sub extensions settings (#61). Workaround settings that directly set specific extensions settings has been removed.
- NEW: Deprecated
use_codehilite_settingsin SuperFences and InlineHilite and now does nothing. The settings will be removed in the future. Ifpymdownx.highlightis used, it's settings will be used instead of CodeHilite. Eventually, the both SuperFences and InlineHilite will requirepymdownx.highlightto be used and will have CodeHilite support stripped. - FIX: Fix MathJax CDN references and usage in documentation. MathJax CDN is shutting down and must now use Cloudflare CDN. (#63)
2.0.0
Feb 12, 2017
- NEW: SuperFences and InlineHilite can be configured via the new Highlight extension.
- NEW: InlineHilite now has all highlighting features pushed to the Highlight extension. This removes all the CodeHilite code that used to be in it and instead relocates it to Highlight.
- NEW: Deprecate the nesting option in SuperFences. Nesting is default and the only acceptable behavior moving forward. The ability to turn off nesting will be removed in 3.0.
1.8.0
Jan 27, 2017
- NEW: MagicLink special repository link shortener for GitHub, GitLab, and Bitbucket. (#49)
- FIX: GitHub asterisk emphasis should never have had smart enabled for it. (#50)
- FIX: MagicLink fix for compatibility with wrapped symbols like
~,*etc. which are commonly used. - FIX: MagicLink encodes emails like Python Markdown does for consistency.
- FIX: MagicLink doesn't allow Unicode for email and does allow Unicode in a URL. (#53)
- FIX: InlineHilite now returns a proper
etreeelement so that theattr_listextension and function properly with it. (#48) - FIX: InlineHilite will no longer break if Pygments is not installed (478b410).
1.7.0
Jan 21, 2017
- NEW: Arithmatex now supports
\(...\),\[...\], and\begin{}...\end{}. - NEW: Arithmatex has an option to embed the math code in MathJax script tags.
- FIX: Unfortunately the wrap option is now run through an HTML escaper and HTML tags can no longer be fed in this way. Arithmatex also now wraps "wrapped" content with spans to containerize content and keep one equation from bleeding into the next.
- FIX: Better handling of escaped Arithmatex inline tokens.
- FIX: Better handling of escaped InlineHilite tokens.
- FIX: Update InlineHilite and SuperFences so that the language option can accept things like
c#and.netetc. - FIX: Snippets now removes carriage returns from imported files to prevent breakage.
1.6.1
Jan 16, 2017
- FIX: Don't install tools or tests folder when installing from Pypi.
1.6.0
Jan 15, 2017
- NEW: EscapeAll has the option to perform more like Pandoc in that you can enable escaped newlines to be
hardbreaks, and escaped spaces to benbsp. - NEW: Rework poorly thought out snippets format to require quoting file names with single line format. Add a block format. Allow commenting out lines temporarily. And allow a way to escape them by placing a space after them.
- FIX: Fix documentation issues.
1.5.0
Jan 13, 2017
- NEW: New EscapeAll extension.
- NEW: New Snippets extension for including external files into a Markdown file.
- NEW: Arithmatex now has configurable output wrapper.
- NEW: PathConverter no longer verifies existence of path to allow it more flexible usage.
- NEW: PathConverter now only converts relative paths when converting to a relative or absolute location.
- NEW: Improved support for path path identification for PathConverter and B64.
- FIX: Fixed issue where Arithmatex was un-escaping
$within math region. - FIX: Fixed issue where plugins would append globally changing the escape list opposed to just in the in the Markdown instance.
- FIX: Fixed logic issue where the
mark,caret, andtildeextension weren't quite modelingbettereminline behavior. - FIX: Critics shouldn't allow escaping critic marks as it is not in the spec.
1.4.0
Jan 5, 2017
- NEW: HeaderAnchor extension is now deprecated. It will be removed in a future version.
- NEW: HeaderAnchor is no longer included in the
pymdownx.githubextension. - NEW: Slugify functions are moved to
pymdownx.slugin preparation of HeaderAnchor removal. - FIX: GitHubEmoji is not "pending" deprecation, but is actually deprecated.
1.3.0
Jan 1, 2017
- NEW: New Emoji extension that aims to replace GitHubEmoji. By default it is configured for EmojiOne and Gemoji (GitHub's emoji).
- NEW: GitHubEmoji is deprecated. Please use the Emoji extension instead.
- NEW: PyMdown extension is deprecated. PyMdown extension was just a wrapper, please configure the desired individual extension(s) instead of relying on PyMdown.
- NEW:
githubextension now turns offnl2brby default in order properly emulate recent changes in GFM.no_nl2broption is deprecated and will be removed in the future as it no longer reflects GFM behavior.
1.2.0
Nov 1, 2016
- NEW: Add option to output task lists in a more customizable way.
1.1.0
Mar 1, 2016
- NEW: Add pypi 3.5 info in setup
- NEW: Add option to MagicLink extension to allow the stripping of link protocols (
http://etc.). - NEW: Add option to
githubextension to disable the use ofnl2brto reflect recent changes to GitHub Flavored Markdown. Currently the default is the legacy (usesnl2br), but a warning will be displayed. In the future, the option will be defaulted to not usenl2br.
1.0.1
Dec 10, 2015
- FIX: Ordinal number 11th, 12th, and 13th
1.0.0
Dec 8, 2015
- NEW: Initial release.