Created
April 28, 2020 03:40
-
-
Save tribal2/066a3a1ce0b457991ffc891525fc33e6 to your computer and use it in GitHub Desktop.
Regex for replacing markdown images with <img> HTML tags in Visual Studio Code (VSCode)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Regex: !\[(.*)\]\(\/img\/(.*)\) | |
Replace: <img alt="$1" src={useBaseUrl('img/$2')} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment