Code blocks, but better
TLDRI've been exploring ways to improve the user experience of code blocks. In this post, I'll share with you how I built a custom code block component. This is not a tutorial, but I hope you can discover something new. I'll be using the code block of my own website as the demo.
Table of contents
But first, demosContextPart 1 - MDX and rehypePart 2 - UIPart 3 - Component substitutionPart 4 - Usage2 Comments
Sort: