An extension for Visual Studio Code and compatible IDEs that provides autocompletion for Elastic Docs' Markdown, as well as other features for authoring Elastic Docs authoring.
- Directive autocompletion: Autocompletes standard and inline directives
- Frontmatter autocompletion: Autocompletes frontmatter fields
- Frontmatter validation: Validates frontmatter fields
- Settings autocomplete: Type
:
inside a directive to see suggested options - Inline role completion: Use
{icon}
,{kbd}
, and{applies_to}
with autocompletion - Substitution autocompletion: Type
{{
to see available substitution variables fromdocset.yml
files - Substitution tooltips: Hover over existing
{{variable}}
to see their full values - Enhanced completion tooltips: See full variable values when selecting from autocompletion
- Validates directive syntax: Real-time validation with red underlines and hover cards for errors
- Syntax highlighting: Enhanced syntax highlighting for directives, parameters, roles, and substitution variables that works alongside standard Markdown highlighting
{note}
- Informational notes (supports:applies_to:
){warning}
- Important warnings (supports:applies_to:
){tip}
- Helpful tips (supports:applies_to:
){important}
- Critical information (supports:applies_to:
){admonition}
- Custom callouts (supports:applies_to:
)
{dropdown}
- Collapsible content sections (supports:applies_to:
){tab-set}
and{tab-item}
- Tabbed content (supports:group:
and:sync:
){stepper}
and{step}
- Step-by-step guides{applies-switch}
and{applies-item}
- Tabbed content with applies_to badges
{image}
- Images with alt text and sizing options{carousel}
- Image carousels (supports:max-height:
){diagram}
- Various diagram types (mermaid, d2, graphviz, plantuml, etc.)
{include}
- Include content from other files{csv-include}
- Include and render CSV files as formatted tables
The extension supports autocompletion for substitution variables defined in docset.yml
files. These variables can be used throughout your markdown files with the {{variable}}
syntax.
- Download the latest
.vsix
file from the Releases page. - Open VSCode.
- Press
Ctrl/Cmd+Shift+P
to open Command Palette. - Run "Extensions: Install from VSIX...".
- Select the downloaded
.vsix
file.
For detailed development, testing, and deployment instructions, see the Deployment Guide.
See LICENSE.txt for details.