Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>White Estate Markup Language SupportNew to Visual Studio Code? Get it now.
White Estate Markup Language Support

White Estate Markup Language Support

EGW Writings

|
15 installs
| (0) | Free
Syntax highlighting, autocomplete, hover documentation and structure validation for WEML (White Estate Markup Language) documents.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WEML Language Support

Support for WEML (White Estate Markup Language) — an HTML5-compatible format used for importing and exporting publications — in Visual Studio Code.

Features

For .weml files:

  • Syntax highlighting based on an extended HTML grammar.
  • Autocomplete for tags, attributes and attribute values, respecting nesting rules.
  • Hover tooltips describing tags, attributes and values.
  • Structure diagnostics: unknown tags and attributes, required attributes, allowed enum values, child count and order, <a href> / id link checks, duplicate <div id>, required <meta> tags in <head>.
  • Document outline by <w-heading> headings and top-level <div> blocks.
  • Formatting into a canonical, normalized WEML form via Format Document and format-on-save.
  • Format cycle (Alt+Shift+F): toggles the whole document between standard HTML formatting (readable, indented) and the canonical WEML form on each press, so you can switch back and forth while editing.

Usage

Open any file with the .weml extension — the features activate automatically.

Formatting

  • Format Document (or format-on-save) rewrites the document into the canonical, normalized WEML form. Canonical formatting is skipped when tag structure is invalid, so malformed content is never replaced by a partial or empty document.
  • Alt+Shift+F runs WEML: Cycle Format (HTML / Canonical) — press it once to expand the document into indented, human-readable HTML, and again to collapse it back into the canonical WEML form. Each press alternates between the two. HTML/pretty formatting remains available while an invalid structure is being repaired.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft