Skip to content

Commit

Permalink
fix matcornic#50 - About Images documentation is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeantet committed Sep 2, 2017
1 parent 4afc19a commit ad03a08
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 28 deletions.
24 changes: 24 additions & 0 deletions exampleSite/content/create-page/page-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,27 @@
title = "About images"
date = "2017-04-24T18:36:24+02:00"
+++

Images have a similar syntax to links but include a preceding exclamation point.

![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg)

![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg)

## Resizing image

Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).


![Hackathon](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?height=80px)

![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?height=80px)


## Add CSS classes

Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow` and `border` are available but you could define other ones.

![s](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?classes=border,shadow)

![agence](https://github.com/vjeantet/vjeantet.fr/raw/master/static/images/sgthon/C.jpg?classes=border,shadow)
28 changes: 0 additions & 28 deletions exampleSite/content/shortcodes/image.md

This file was deleted.

0 comments on commit ad03a08

Please sign in to comment.