WICG / webmonetization

Proposed Web Monetization standard
https://webmonetization.org
Other
457 stars 153 forks source link

feat: add mermaid support and update readme #383

Closed huijing closed 1 year ago

huijing commented 1 year ago

Closes #382

This PR adds support for Mermaid to the docs, as well as a <MermaidWrapper> component so that large diagrams can be opened in a new window.

netlify[bot] commented 1 year ago

Deploy Preview for webmonetization-preview ready!

Name Link
Latest commit cb224d2425cccdd6c58bc090ceb57ec5f487f9bd
Latest deploy log https://app.netlify.com/sites/webmonetization-preview/deploys/64e5ff17df78ec000708e68e
Deploy Preview https://deploy-preview-383--webmonetization-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sabineschaller commented 1 year ago

General question: Do we have a nice way to "share" these features among our docs sites?

huijing commented 1 year ago

General question: Do we have a nice way to "share" these features among our docs sites?

Good question. I'm thinking of packaging the common ones into maybe an npm package at some point, but we're still not stable enough for that yet, methinks. Structurally, I'm still moving a lot of things around at the moment. I can foresee it would be big enough to be its own project though, cos i'm not sure how to bundle everything neatly.