
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@pantheon-systems/pcc-browser-sdk
Advanced tools
A simple and easy to use browser client for the Pantheon Content Publisher API
<-- Add this to the <head> of your HTML file or right before the closing </body> tag -->
<script
src="https://unpkg.com/@pantheon-systems/pcc-browser-sdk@latest/dist/index.js"
data-site-id="<your PCC Site ID>"
data-token="<your PCC Token>"
></script>
pcc-article
custom element to your HTML file. Place it where you want
the article to be rendered.<pcc-article id="<id of your article>">
<!-- Add a fallback message here for when the article is loading... -->
Loading...
</pcc-article>
That's it! You should now see yur article rendered in your browser.
The pcc-article
custom element accepts the following attributes:
Attribute | Type | Required | Description |
---|---|---|---|
id | String | Yes | The ID of the article you want to render |
slug | String | Yes if id is not provided | The slug of the article you want to render |
disable-styles | Boolean | No | Disable rendering default styles for the article |
FAQs
Pantheon Content Publisher Browser SDK
We found that @pantheon-systems/pcc-browser-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.