Created
April 3, 2020 20:32
-
-
Save patridge/a1762c5e250fc0fb754035c890884912 to your computer and use it in GitHub Desktop.
Microsoft Docs/Learn Markdown snippets
This file contains hidden or 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
{ | |
"Microsoft Docs image": { | |
"prefix": [ "image", "img" ], | |
"body": [ | |
":::image source=\"$1\" alt-text=\"$0\":::" | |
], | |
"description": "Microsoft Docs-style image syntax (':::image …:::')." | |
}, | |
"Microsoft Docs decorative/icon image": { | |
"prefix": [ "image", "img" ], | |
"body": [ | |
":::image type=\"icon\" border=\"false\" source=\"$0\":::" | |
], | |
"description": "Microsoft Docs-style decorative image syntax (':::image type=\"icon\" …:::')." | |
}, | |
"Microsoft Docs complex image": { | |
"prefix": [ "image", "img" ], | |
"body": [ | |
":::image type=\"complex\" source=\"$1\" alt-text=\"$2\":::", | |
" $0", | |
":::image-end::: " | |
], | |
"description": "Microsoft Docs-style complex image syntax with a long description that users with screen readers can optionally choose to read(':::image type=\"complex\" …:::')." | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment