
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@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 471 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.