@salesforcedevs/sfdocs-image-transformer
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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.

/@salesforcedevs/sfdocs-image-transformer/

    Package Sidebar

    Install

    npm i @salesforcedevs/sfdocs-image-transformer

    Weekly Downloads

    402

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    63.3 kB

    Total Files

    21

    Last publish

    Collaborators

    • kavin2208
    • scoppieters
    • v-vinay
    • madhurah
    • miles.vdw
    • sunnymsf
    • dkulan
    • jmrog
    • kharlowsf
    • muenzpraeger
    • developer-web-ops
    • lokeshnsf
    • kishore_nemalipuri
    • mbraga-sfdc
    • opendocs