diff --git a/initial-slides.md b/initial-slides.md index 82d8b11..058a3c9 100644 --- a/initial-slides.md +++ b/initial-slides.md @@ -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: + +``` + + +``` + + --- ## Learn more diff --git a/main.go b/main.go index 52358fa..65c322b 100644 --- a/main.go +++ b/main.go @@ -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, diff --git a/slides/images/demo.png b/slides/images/demo.png new file mode 100644 index 0000000..e0e3250 Binary files /dev/null and b/slides/images/demo.png differ