@salesforcedevs/sfdocs-do-dont-plugin
v1.0.0
Published
SFDocs do don't plugin
Downloads
1,797
Maintainers
Keywords
Readme
Do Don't plugin
About
This is a custom plugin for authoring the do-dont in a markdown file. This plugin transforms the authored do-don't plugin into html components.
Example: ::do-dont{is-do=true img-src="./media/sample.png" title="Example Description"}
Transformed html using this tab plugin is as follows:
<doc-do-dont is-do="true" img-src="./media/sample.png" caption="Example Description">
</doc-do-dont>
Install & build
yarn install && yarn build
Pubilsh
To test the plugin code, publish alpha package using following command:
yarn publish --new-version 1.0.0-alpha --tag alpha --access=public
Use following command to publish actual package:
yarn publish
Please make sure to push your changes (version number & other changes) to git once publishing is complete.