Created
December 15, 2017 17:04
-
-
Save andycochrane/c34a2e3a31712bd6777b3c114be0a11e to your computer and use it in GitHub Desktop.
VS Code auto rel="noopener"
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
"No Opener": { | |
"prefix": "blank", | |
"body": [ | |
"target=\"_blank\" rel=\"noopener\"" | |
], | |
"description": "Add rel=noopener to links with target=_blank" | |
} |
Assuming you're a VS Code user...
Follow this link to the docs that show how to create your own snippets: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets
Hope this helps!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to use this??