Normally Pleasant Mixture
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

hexo-minsh-img

1.0.4 • Public • Published

hexo-minsh-img

This tag plugin will add a max-width style into the specified image. Look at the source if you want an example on how to access an asset path.

Usage

{% minsh_img image.png alt text here, caption here, 100 %}

will result into

<div class="minsh-img">
  <img src="/community-building/3-different-types-of-community-platforms/image.png" alt="alt text here" title="alt text here" style="max-width:630px; max-height: 330px">
  <figcaption>caption here</figcaption>
</div>

Keywords

none

install

npm i hexo-minsh-img

Downloadsweekly downloads

0

version

1.0.4

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability