Changes
2.6.1
- FIX: We cannot opt-in to Python 3.8 until Pygments dependency supports 3.8.
2.6
- NEW: Add 'Preferences: MarkdownPreview Settings' to Command Palette.
- NEW: Opt-in to python 3.8.
- NEW: Allow GitHub style to adjust to window width.
- NEW: Clarify GitLab access token in MarkdownPreview.sublime-settings.
2.5
- NEW: Update to latest GitHub styling. Dark mode is triggered by system theme.
- NEW: Allow specifying paths with
~and variables like$HOMEinpath_tempfile.
2.4.3
- FIX: Fix issues related to changing code block color schemes.
2.4.2
- FIX: Fix style so that PDF printing works in Chrome based browsers.
2.4.1
- FIX: Remove
desktoplib as we should not have been using it under our current license. - FIX: Fix a typo which prevents displaying useful error message.
2.4.0
- NEW: Add
mermaid.jssupport. - NEW: Remove border from default styling of
markdownandgithub. - NEW: Exit out of
on_post_saveeven quicker if no work is needed. - FIX:
titlein YAML frontmatter should be handled case insensitively.
2.3.0
Some breaking changes! Please read:
- NEW:
pymdownx.superfencesno longer sources any settings frommarkdown.extensions.codehiliteand instead usespymdownx.highlight. No need to specifymarkdown.extensions.codehilitein the default settings. - NEW: Default
pygments_cssclass is now set tohighlightwhich ispymdownx.highlight's default. If you are usingpymdownx.superfences, you use usehighlight, if you are usingmarkdown.extensions.codehilite, then you may want to change this tocodehilite, or changecodehiliteto use thehighlightclass as well. - FIX: Use
markdown.extensions.md_in_htmlinstead ofpymdownx.extrarawhtmlin the default settings as the latter is no longer available in the latest dependency.
2.2.5
- FIX: Fix for detecting browser in macOS Catalina.
2.2.4
- FIX: Fix GitHub emoji asset links.
2.2.3
- FIX: Linux browser preview issue.
2.2.2
- FIX: Reload issues in some browsers.
2.2.1
- Add support for Markdown 3+ and Pymdownx 6+.
- Add
viewportscaling in HTML.
2.2.0
- Add basic GitLab support.
- Add per parser support for JavaScript and CSS configurations. Please see documentation to learn the new format.
2.1.2
- Don't allow live reload on save if using GitHub parser with no OAuth.
2.1.1
- Revert
autoNumberset toallin MathJax config. - Revert alignment left of MathJax display equations as the default has always been center prior to 2.0 releases.
2.1.0
- Add support for KaTeX math.
- Ensure MathJax properly looks for
\begin{env}...\end{env}. - Unified menu.
2.0.3
- MathJax should only scan for
arithmatexclasses in HTML.
2.0.2
- Code highlighting should have guessing disabled by default.
- Fix failure when code highlighting has guessing enabled, but the user specified a language name which has no lexer.
2.0.1
- Fix missing code highlight extension.
- Fix build command failing.
2.0.0
Please read documentation as there have been big changes in this version which may require updates to your personal settings.
-
Do not vendor Python Markdown. Python Markdown will be acquired via the current markdown dependency.
-
Python Markdown configuration changes:
- No more defining settings as
extension(option1=a,option2=b). Options will be defined as a dictionary. - You will have to define the full extension name:
markdown.extensions.codehilite. This will allow you to import any extension you want outside of Markdown Preview. - New line to
<br>conversion has been dropped from GitHub emulation as GitHub no longer does this. Ref issue #374.
- No more defining settings as
-
Originally a couple pymdownx-extension extensions were ported over to this plugin to give a GitHub-ish feel to Markdown, these are no longer be included directly, but are included as a dependency. This will provide the latest versions, and also provide new extensions previously not included. Ref issue #378.
-
Drop ST2 so we no longer have to provide specially crafted Python Markdown versions when we try to upgrade.
-
Improve yaml front matter parsing: see issue #392.
-
Better UML JavaScript injection.
-
Link contributors in readme.
-
Remove "magic" Pygments configuration. User will now explicitly configure Pygments CSS injection separately.
-
Require explicit parser name moving forward instead of default, but provide a deprecation path for the short term.
-
Fix GitHub header ID generation. GitHub only lowercases ASCII chars.
-
Ensure default parser is Python Markdown, and enable auto-reload by default.
-
Hopefully better documentation.
-
Make flake8 compatible.
-
Fix outdated links.
-
Remove MathJax and UML option in favor of a more generalized solution via the pre-existing
cssoption. -
Remove
embed_css_for_sublime_outputoption in favor of more generalizedinclude_headoption.
1.4.3
- Fix issue where Chrome prevents live reload.
1.4.0
csssetting can now be an array and contain multiple CSS files (see settings file for more info).- Updated GitHub style to latest.
1.3.0
- Now supports any markdown parser through a generalized method. Now you can map a binary to parser name via
markdown_binary_map. Then use the parser name inenabled_parsersto use it. - MultiMarkdown specific settings have been removed. MultiMarkdown should now be configured via
markdown_binary_mapandenabled_parsers. - Upgraded to Python Markdown 2.6.4.
- Removed internal PyYaml and Pygments. Markdown Preview now uses Package Control dependencies to obtain PyYaml and Pygments.
- Update kbd CSS for GitHub.
1.0.3
- The
messages.jsonshould OK for this time.
1.0.2
- Fixes messages.json and changelog versions.
1.0.1
- Removed markdown2 parser for its not well maintained and buggy.
- Make Python Markdown parser as default.
- Split the preview commands for Python Markdown parser and GitHub Flavored Markdown parser.
- Add markdown file build support, build parser are config via the origin
"parser"settings. - Add this changelog file for both developers and users.
- Add messages.json which make display of
README.mdandCHANGES.md - Try use
Markdown Extended.tmLanguagefor cheat sheet if you installedMarkdown Extended.
1.0.0
- Support for ST3.
- Added Python Markdown parser.
- CSS search first in markdown file directory and the the build-in.