elqldk
elqldk

Reputation: 101

How to insert slide in README.md

I want to insert images in a slider in my README.md

I have inserted a single image like this

![image-name](image-url)

Upvotes: 1

Views: 4436

Answers (1)

Steffo
Steffo

Reputation: 356

There is no way to display a slideshow in Github Flavored Markdown.

If you want to display multiple images without making your README excessively long, you can use a <details> tag:

<details>
  <summary>The title of the image group</summary>
  <img src="image-url" alt="image-description"/>
  <img src="image-url" alt="image-description"/>
  <img src="image-url" alt="image-description"/>
</details>

The images will be grouped in a widget that can be clicked to show or hide the content inside:

open

closed

Upvotes: 7

Related Questions