Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>vscode-mjml-template-literalNew to Visual Studio Code? Get it now.
vscode-mjml-template-literal

vscode-mjml-template-literal

Sasha Koss

|
1,295 installs
| (0) | Free
Syntax highlighting for MJML in template literals
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-mjml-template-literal

Syntax highlighting for MJML string literals (recommended to use with tag-mjml):

import tagMJML from "tag-mjml";

const mjml = tagMJML({
  /* MJML options */
});

const template = mjml`
<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
        <mj-column>
          <mj-text>Hello World!</mj-text>
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>`;

Based on vscode-sql-template-literal.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft