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

Output:
<p><img src="./../../../media/salesforcedocs.png" alt="SalesforceDocs" title="custom title" class="content-image custom-class"></p>
yarn install && yarn build
yarn publish
Please make sure to push your changes (version number & other changes) to git once publishing is complete.