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