@sfdocs-internal/remark-lint-media-path-constraint

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';
</script>

README

Remark lint media path constraint

What/why

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

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

Pubilsh

yarn publish

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