Skip to content

Commit

Permalink
[Edit] Markdown: Images
Browse files Browse the repository at this point in the history
* added example output image - edited example to allow for image

* Update images.md

minor fix in the path

---------
  • Loading branch information
danitellini authored Dec 10, 2024
1 parent c8ad433 commit 02444bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/markdown/concepts/images/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@ An optional title can also be added after the URL, still in the parentheses:
To add a link to an image, enclose the Markdown for the image in brackets, and then add the link in parentheses.

```md
[![A mushroom-head robot](/assets/images/codey.jpg 'Codey the Codecademy mascot')](https://codecademy.com)
[![A mushroom-head robot drinking bubble tea](/assets/images/codey.jpg 'Codey the Codecademy mascot drinking bubble tea')](https://codecademy.com)
```

The above example results in the following linked image:

![A mushroom-head robot drinking bubble tea](https://raw.githubusercontent.com/Codecademy/docs/main/media/codey.jpg 'Codey the Codecademy mascot drinking bubble tea')
Binary file added media/codey.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02444bd

Please sign in to comment.