Skip to content

Commit

Permalink
Update images.mdx (#7856)
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
Rishi Raj Jain and sarah11918 authored Apr 17, 2024
1 parent 8319a91 commit ba35f74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/content/docs/en/guides/images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ import rocket from '../assets/rocket.png';

# My MDX Page

// Local image stored in the the same folder
![Houston in the wild](houston.png)

// Local image stored in src/assets/
<Image src={rocket} alt="A rocketship in space." />
<img src={rocket.src} alt="A rocketship in space." />
Expand Down

0 comments on commit ba35f74

Please sign in to comment.