Merge pull request #35 from nmaas87/master

Added example into initial-slides.md and filtered images folder from …
This commit is contained in:
Alex Miasoiedov 2018-02-23 21:17:33 -05:00 committed by GitHub
commit 9509610841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 5 deletions

View file

@ -1,8 +1,5 @@
language: go
before_install:
mkdir slides
install:
go get github.com/franela/goblin

View file

@ -71,11 +71,11 @@ Use local images
----
Store pictures you want to use in the images subfolder, slides/images/ and reference them in the editor as Markdown:
```
![demoPicture](../../images/demo.png)
![demoPicture](/images/demo.png)
```
or as HTML:
```
<img src="../../images/demo.png">
<img src="/images/demo.png">
```
Getting Help

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,6 +127,9 @@ func NewApp() *gin.Engine {
}
var stash []string
for _, file := range files {
if file.IsDir() {
continue
}
stash = append(stash, file.Name())
}
c.HTML(200, "stash.tmpl", gin.H{

BIN
slides/images/demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB