Added new file shortcode and added better checks in figure and img shortcodes.
This commit is contained in:
parent
507394c93d
commit
46595e5ae9
1 changed files with 30 additions and 5 deletions
13
README.md
13
README.md
|
|
@ -455,7 +455,7 @@ Possible parameters are:
|
|||
* caption (only figure)
|
||||
* class
|
||||
* height
|
||||
* link (only figure)
|
||||
* link
|
||||
* size (only works if image is inside /assets dir)
|
||||
* src
|
||||
* title (only figure)
|
||||
|
|
@ -469,6 +469,17 @@ Only "src" is none optional but you really should set "alt" as well.
|
|||
* If only width or only height is set the other value will be proportionally calculated.
|
||||
|
||||
|
||||
### File
|
||||
|
||||
Creates a link to a file in static or in assets directory.
|
||||
|
||||
Possible parameters are:
|
||||
|
||||
* class
|
||||
* name
|
||||
* src
|
||||
|
||||
|
||||
### Search
|
||||
|
||||
Creates a search page for the site, [see more above](#search).
|
||||
|
|
|
|||
Loading…
Reference in a new issue