Salesforce Docs markdown lint for validating media path

Usage no npm install needed!

<script type="module">
  import sfdocsInternalRemarkLintMediaPathConstraint from 'https://cdn.skypack.dev/@sfdocs-internal/remark-lint-media-path-constraint';


Remark lint media path constraint


This plugin validates that all the image path should have the path that exists in the "media" folder. The folder name in this case "media" is the default name and it is configurable.


Recommendation is to use the configured folder for all the images. Default folder name is "media".

How to setup

Install & build

yarn install && yarn build


yarn publish

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