
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@salesforcedevs/sfdocs-remark-lwc-playground-plugin
Advanced tools
SFDocs remark plugin for lwc component playground
This plugin transforms component playground markdown syntax to doc-component-playground
HTML elements. It allows embedding interactive component example previews into documentation, enabling users to explore component behavior dynamically.
To use this plugin, set the PLAYGROUND_APP_URL
environment variable to the base URL of your playground application.
Example:
export PLAYGROUND_APP_URL='https://example-lwc-playground.com'
yarn install && yarn build
::component-playground{component="button" model="lwc" namespace="lightning"}
::component-playground{component="accordionSection" model="aura" namespace="lightning"}
<doc-component-playground component="button" model="lwc" namespace="lightning" playground-app-url=${playgroundAppUrl}>
</doc-component-playground>
To test the plugin code, publish an alpha package using the following command:
yarn publish --new-version 1.0.0-alpha --tag alpha
To publish the actual package:
yarn publish
FAQs
SFDocs remark plugin for lwc component playground
The npm package @salesforcedevs/sfdocs-remark-lwc-playground-plugin receives a total of 398 weekly downloads. As such, @salesforcedevs/sfdocs-remark-lwc-playground-plugin popularity was classified as not popular.
We found that @salesforcedevs/sfdocs-remark-lwc-playground-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.