Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@theguild/remark-mermaid
Advanced tools
Remark plugin for replacing ```mermaid code blocks with react `<Mermaid />` component
@theguild/remark-mermaid
Created by Dimitri POSTOLOV https://twitter.com/B2o5T.
Maintained by The Guild https://twitter.com/TheGuildDev.
Remark plugin for replacing ```mermaid code blocks with react <Mermaid />
component.
Support MDX2
Support both dark and light themes. Listening for the dark
class on the <html />
element and
updating the mermaid's theme accordingly
npm i @theguild/remark-mermaid
Follow code will be converted to a mermaid diagram.
// my-page.mdx
```mermaid
graph TD;
subgraph AA [Consumers]
A[Mobile app];
B[Web app];
C[Node.js client];
end
subgraph BB [Services]
E[REST API];
F[GraphQL API];
G[SOAP API];
end
Z[GraphQL API];
A --> Z;
B --> Z;
C --> Z;
Z --> E;
Z --> F;
Z --> G;
```
FAQs
Remark plugin for replacing ```mermaid code blocks with react `<Mermaid />` component
The npm package @theguild/remark-mermaid receives a total of 31,650 weekly downloads. As such, @theguild/remark-mermaid popularity was classified as popular.
We found that @theguild/remark-mermaid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.