# code-surfer **Repository Path**: mirrors_opencollective/code-surfer ## Basic Information - **Project Name**: code-surfer - **Description**: Rad code slides <🏄/> - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Code Surfer <🏄/>   React component for scrolling, zooming and highlighting code. > If you like this project consider [backing my open source work on Patreon!](https://patreon.com/pomber) > And follow [@pomber](https://twitter.com/pomber) on twitter for updates. --- **Version 2 of Code Surfer is coming soon!** Check the demos [here](https://twitter.com/pomber/status/1140640434613555201) and [here](https://twitter.com/pomber/status/1144222078696136704). And the [v2 PR](https://github.com/pomber/code-surfer/pull/58). You can try it now with `npm init code-surfer-deck`. --- ## How to use with [mdx-deck](https://github.com/jxnblk/mdx-deck)
Add the dependency (and `raw-loader` if you want to load the code from a file): ```bash $ yarn add --dev mdx-deck-code-surfer raw-loader ``` And then use it from your `.mdx`: ```jsx --- import { CodeSurfer } from "mdx-deck-code-surfer"