10.2.0: Simpler syntax highlighting
Changes
See #45
Upgrade instructions (more info)
Merge upstream changes
First, configure this repo as a remote for your repo (you only need to do this once)
git remote add template https://github.com/bensmithett/tropical.git
Then fetch & merge the latest changes, resolving any conflicts manually:
git fetch template
git merge template/master
or...
Manually update your code
Merging upstream changes should be easy for this change (unless you've made lots of changes to TropicalCodeBlock) but see https://github.com/bensmithett/tropical/pull/45/files for changes you can make manually:
yarn remove prism-react-renderer && yarn add react-syntax-highlighter- Update
TropicalCodeBlockandentry-server.jsxas per #45 - Add
"framework": "@storybook/react"to your.storybook/main.cjs - Add
providerImportSource: '@mdx-js/react'to both vite config files