You can extend the VS Code Markdown previewer, *via* markdown-it plugins: https://code.visualstudio.com/api/extension-guides/markdown-extension