Images
Include inline images from your playground project.
Works with:
✓ Playgrounds
✓ Symbol documentation
Swift Playgrounds can only load image resources that are included in the Playground package; remote image URLs aren’t rendered. For information on adding images and other resource files to your playground, see Add resources to a playground in Xcode Help.
Syntax
![alternate text](URL "hover title")
Alternate text is displayed if the image is not loaded. Also used for accessibility.
URL is the address of the image to display.
Hover title (optional) is the text displayed when the pointer is hovering over the image. Also used for accessibility.
Playground Image Example
A link to a playground resource with no hover text.
//: ![The real head of the household?](cat.png)
Quick Help Example
/**
An example of using *images* to display a web image
![Xcode icon](http://devimages.apple.com.edgekey.net/assets/elements/icons/128x128/xcode.png "Some hover text")
*/
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2017-06-05