4
0
Fork 0

Added example into initial-slides.md and filtered images folder from stash view to prevent errors / creation of images.md file

This commit is contained in:
Nico Maas 2018-02-22 19:37:11 +01:00
parent 5ec8a2eb35
commit 3411142e90
3 changed files with 23 additions and 1 deletions

View file

@ -69,6 +69,26 @@ services:
```
--
## Local images
![demoPicture](../../images/demo.png)
Copy images into slides/images/ & include with MD:
```
![demoPicture](../../images/demo.png)
```
or HTML:
```
<img src="../../images/demo.png">
```
---
## Learn more

View file

@ -127,7 +127,9 @@ func NewApp() *gin.Engine {
}
var stash []string
for _, file := range files {
stash = append(stash, file.Name())
if file.Name() != "images" {
stash = append(stash, file.Name())
}
}
c.HTML(200, "stash.tmpl", gin.H{
"stash": stash,

BIN
slides/images/demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB