1.0.0 • Published 9 months ago

@salesforcedevs/sfdocs-do-dont-plugin v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

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.