VS Code tips — Organizing Markdown link definitions

Опубликовано: 22 Март 2026
на канале: Code 2020
1,668
20

Using reference links in your Markdown? VS Code can help you keep your link definitions nice looking with the 'Organize link definitions' source action. This both removes unused link definitions and also sorts the link definitions to a single block at the bottom of the file

You can even run this action automatically on save with `editor.codeActionsOnSave`

"editor.codeActionsOnSave": {
"source.organizeLinkDefinitions": true
}

#vscode #markdown