All notable changes to the "mjml" extension will be documented in this file. This project adheres to Semantic Versioning.
Fix file links on Windows.
Updated dependencies.
Bundle with esbuild.
Fix linting issue with updated build config.
Revert to previous version.
Wrap components in mjml
and mj-body
tags if not present (for linting and previewing).
Fix html-minifier.
Replace native MJML options with HTMLMinifier
and JS Beautifier
.
Fix MJML CLI path.
Fix extension output dir.
Add role
attribute for mj-table
.
Bundle extension with esbuild.
Fix tag name word boundaries and whitespace in closing bracket affecting linked-editing.
Update dependencies.
Prevent color-providers in style="white-space:...
.
- Document link providers
- Linked-editing providers
- Color providers in
border
attribute - CSS value completions without leading whitespace
- CSS
background
value completions - CSS gradient support for color-providers
Fix snippetsInsideComments
<mj-all />
attribute completions
- Fix
<-- mj-head-render -->
not working with other comments in the same file - Add slash to self-closing tag snippets
- Remove end of snippet tab-stop
- Add option to prevent snippets/completion items inside comments
- Tag completions account for leading
<
- Prevent completions inside closing tags as well as opening tags
Fix regex for self-closing mj-text
- Fix color providers showing in the middle of words
- Make changelog dates
dd/mm/yyyy
- Color providers
- Prevent auto opening snippets
- Added CSS
padding
completion - Added completions for all supported attributes
- Attribute completions scoped to compatible tags
- Prevented attribute completions inside comments
- Refactored MJML snippets into completion items
- Fixed
mjml.preserveFocus
andmjml.autoClosePreview
config options
Bump MJML version to 4.9.3
.
Remove unnecessary completion item hyphen handling.
Added indentation rules.
Fixed CSS property/value completion bugs when there are multiple properties per line.
Fixed hyphens messing with completion provider, check if semi-colon already exists before completing CSS properties.
Fixed catastrophic backtracking in mj-head-render
regex.
Added <!-- mj-head-render -->
magic comment to render head elements inside previewer when using <!-- mjml-render -->
.
Added <!-- mjml-render -->
snippet.
Added ability to preview individual components with <!-- mjml-render -->
magic comment. Inspired by this merge request in the official extension repo.
Removed unnecessary whitespace in some HTML snippets.
Added missing border
attribute.
Initial preview open bug fix.
HTML tag completions within mj-text
tags, minor bug fixes.
Upgrade dependencies.
Extra CSS snippet values.
Removed screenshot, email, documentation, migration and template features. Also, removed mj-link
snippet.
Updated display name.
Scrapped Webpack integration.
Webpack integration (fix).
Webpack integration.
Removed required node_modules
dependencies from .vscodeignore
.
Removed required node_modules
dependencies from .vscodeignore
.
Added node_modules
to .vscodeignore
to reduce extension size.
CSS property/value completions within mj-style
tags.
Attribute completion over multiple line.
Enhanced attribute completion description.
Convert snippet from JSON to JS.
Minor bug fix.
TS config fix.
Attribute auto-completion within tags.
Minor bug-fix.
mjml.switchOnSeparateFileChange
option.