Socket
Book a DemoInstallSign in
Socket

@salesforcedevs/sfdocs-remark-specification-plugin

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforcedevs/sfdocs-remark-specification-plugin

SFDocs remark plugin for specification page

npmnpm
Version
0.0.1-alpha5
Version published
Weekly downloads
639
51.78%
Maintainers
0
Weekly downloads
 
Created
Source

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" model="lwc" namespace="lightning"}

Transformed html using this specification plugin is as follows:

    <doc-specification-content component="button" model="lwc" namespace="lightning" router-url=${cx_router_url}>
    </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.

Keywords

sfdocs-remark-specification-plugin

FAQs

Package last updated on 13 Nov 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