hl[n] specifies a highlighted line number (optional)
hl[n:m] specifies a range of highlighted lines (optional)
ln[n:m,p,q:r] specifies which lines to include in the snippet (optional)
Can contain single line numbers (8)
Can contain line ranges (3:6)
Can contain multiple ranges and single lines separated by commas (3:6,8,10:11)
Both ln and hl parameters can be used together
Usage
Open a markdown file with MkDocs-style file references
The extension will automatically lint references, showing errors for non-existent files in the Problems panel
Hover over a file reference to see a tooltip, or Ctrl+click (or Cmd+click on macOS) on a file reference to navigate to the referenced file
The entire file reference is clickable, including the surrounding {* ... *} pattern
When editing a file reference between {* ... *}, you'll get automatic path suggestions:
Type / to navigate into directories
Type . to get file extension suggestions
Folders will have a trailing slash and will trigger new suggestions when selected
Extension Settings
mdxIncludeFile.rootDirectory: The root directory from which all file paths will be resolved. If empty, paths are resolved relative to the markdown file. Can be absolute or relative to the workspace folder.