You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
feat: fixing some ssr issues with the markdown renderer (#705)
* feat: fixing some ssr issues with the markdown renderer
- always render the copy code button, even on the server
Fixes this issue `Warning: Expected server HTML to contain a matching <button> in <code>.`
- Added `suppressHydrationWarning={true}` to the `<code>` element
The rendered content is always going to be different due to one having
syntax highlighting and one not
* fix: add prettier-ignore to line for ie compatibility
Without this, `prettier --write` always updates to an emoji 🤷♂️
Co-authored-by: Rafe Goldberg <rafegoldberg@gmail.com>
0 commit comments