With GitHub pages Jekyll works. The way you have written the markdown but for VScode you would need an extension to enhance the existing markdown renderer. You can find one such extension at https://marketplace.visualstudio.com/items?itemName=shd101wyy.markdown-preview-enhanced