Export to png from VSCode?

I am using vscode to write my maps, than copy paste it to https://onlinewardleymaps.com/ and export as PNG. is there a way to do that directly from vscode?