0.0.1-alpha2 • Published 8 months ago

@salesforcedevs/sfdocs-remark-specification-plugin v0.0.1-alpha2

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

Component Specification plugin

About

This is a custom plugin for authoring the speciifcation tab content in a markdown file. This plugin transforms the authored specification syntax into html components.

Example: ::component-specification{component="Button" type="lightning"}

Transformed html using this specification plugin is as follows:

    <doc-specification-content component="button" type="lightning">
    </doc-specification-content>

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.