1.0.2 • Published 4 years ago

hexo-tag-img v1.0.2

Weekly downloads
15
License
MIT
Repository
github
Last release
4 years ago

hexo-tag-img

NPM Version NPM Downloads LICENSE Build Status Coverage Status dependencies Status devDependencies Status

Inserts an image with specified size.

This is a Hexo image tag plugin extension. After installing this plugin, the original img tag plugin will be replaced by this tag plugin.

Installation

npm install --save hexo-tag-img

Syntax

Inserts an image with specified size.

{% img [class names] /path/to/image [width] [height] "title text" "alt text" %}
{% image [class names] /path/to/image [width] [height] 'title text' 'alt text' %}
  • ', " symbols are allowed in title and alt.
  • title and alt must be quoted with " or '.
  • For security concerns, the value of attributes will be escaped.

Syntax of the Original Version

Inserts an image with specified size. See more

{% img [class names] /path/to/image [width] [height] "title text 'alt text'" %}
{% image [class names] /path/to/image [width] [height] "title text 'alt text'" %}

Issues of this version

License

Copyright (c) 2019 dailyrandomphoto. Licensed under the MIT license.

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago