1.0.2 • Published 2 months ago

@sfdocs-internal/image-transformer v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Image Transformer

About

This plugin is to transform image path and attributes. Check description of transformImagePath and transformTitleAndClass in index.ts for more info.

Input:

![SalesforceDocs](../../../media/salesforcedocs.png '{"class": "custom-class", "title": "custom title"}')

Output:

<p><img src="./../../../media/salesforcedocs.png" alt="SalesforceDocs" title="custom title" class="content-image custom-class"></p>

Install & build

yarn install && yarn build

Pubilsh

yarn publish

Please make sure to push your changes (version number & other changes) to git once publishing is complete.