Socket
Book a DemoInstallSign in
Socket

@salesforcedevs/sfdocs-do-dont-plugin

Package Overview
Dependencies
Maintainers
15
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforcedevs/sfdocs-do-dont-plugin

SFDocs do don't plugin

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
368
-57.16%
Maintainers
15
Weekly downloads
 
Created
Source

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.

Keywords

sfdocs-plugin do-dont-plugin

FAQs

Package last updated on 25 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts