Skip to content

Commit 8991272

Browse files
committed
add jekyll-postfiles usage to cheatsheet
1 parent 0569333 commit 8991272

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Feel free to create an issue/pull request for any typo's/bugs you might find :)
1010

1111
* Link to other posts
1212
* `[other post]({% post_url 2017-01-01-other-post %})`
13+
* Embed an image with [jekyll-postfiles](https://github.com/nhoizey/jekyll-postfiles#how-does-it-work)
14+
* create a folder under `_posts` named the same as your post's markdown file
15+
* add any images for your post there, along with the post's markdown file
16+
* use a relative markdown image tag to reference and embed the images
17+
* eg. `![a title or something](foo.jpg)`
1318
* Embed a gist with [jekyll-gist](https://github.com/jekyll/jekyll-gist)
1419
* `{% gist foo/12345678901234567890 %} `
1520
* Embed a tweet with [jekyll-twitter-plugin](https://github.com/rob-murray/jekyll-twitter-plugin)

0 commit comments

Comments
 (0)