A python (3) script that parses markdown files, finds youtube urls, and replaces them with video previews with thumbnails.
python mdvid.py (make sure to use python 3, you may need to create an alias for it)
inputfile = in.md outputfile = out.md
Preview any output md file with Visual studio code with the following key sequence: open the file (file.md), then "( cmd(mac) or ctrl(windows) ) + k" then press "v". the preview with youtube video thumbnails should now be located in the newly opened tab to your right. Happy Listening!