This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information