Code Surfer
React component for scrolling, zooming and highlighting code.
How to use with mdx-deck
Add the dependency (and raw-loader
if you want to load the code from a file):
And then use it from your .mdx
:
A list of available languages can be found here and it will default to jsx
More options: