jupyter-book / myst-theme

Packages for creating MyST websites themes using React and Remix
https://jupyter-book.github.io/myst-theme/?path=/docs/components-introduction--docs
MIT License
15 stars 14 forks source link

⏩ Extend renderers to allow for kind/subtypes #460

Closed rowanc1 closed 2 months ago

rowanc1 commented 2 months ago

This allows for multiple renderers to be attached to a single node, based on a match of the kind.

For example you can now add a specific renderer for a link[kind=github]. This allows for inheriting these renderers and then extending or overriding them independently.

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 5fbaeb0f2968fbc08017c8c689d6147af77071e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages | Name | Type | | ----------------------- | ----- | | myst-to-react | Patch | | @myst-theme/providers | Patch | | @myst-theme/jupyter | Patch | | @myst-theme/site | Patch | | @myst-theme/frontmatter | Patch | | @myst-theme/diagrams | Patch | | @myst-theme/styles | Patch | | @myst-theme/common | Patch | | @myst-theme/icons | Patch | | @myst-theme/book | Patch | | @myst-theme/article | Patch | | myst-demo | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR