Skip to content

Commit

Permalink
more image examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wuestkamp committed Apr 29, 2022
1 parent d6f9222 commit 211bb7e
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 1 deletion.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions use-images/images.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

### Display image from parent directory
![Scan results](../assets/logo.png)


### Display image from parent directory with size
<img src="../assets/logo.png" style="width: 50px">


### Display image

![Scan results](./image2.png)
Expand Down
5 changes: 4 additions & 1 deletion use-images/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
"description": "Display images in Markdown",
"details": {
"intro": {
"text": "intro.md"
"text": "intro/intro.md"
},
"steps": [
{
"text": "images.md"
},
{
"text": "step2/images.md"
}
]
},
Expand Down
Binary file added use-images/intro/intro.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions use-images/intro/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

![Scan results](./intro.jpg)


![Scan results](./sunset.gif)
Binary file added use-images/intro/sunset.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added use-images/step2/assets/blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added use-images/step2/green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions use-images/step2/images.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

### Display image from parent directory
![Scan results](../../assets/logo.png)


### Display image from parent directory with size
<img src="../../assets/logo.png" style="width: 50px">


### Display image

![Scan results](./yellow.png)


### Display image from subdirectory

![Scan results](./assets/blue.png)


### Display images with static size, also larger than content area
<img src="./green.png" style="width: 1000px; height: 50px; max-width: none">
Binary file added use-images/step2/yellow.png
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 211bb7e

Please sign in to comment.