Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for other presentation tools #73

Open
springroll12 opened this issue Nov 20, 2019 · 1 comment
Open

Support for other presentation tools #73

springroll12 opened this issue Nov 20, 2019 · 1 comment

Comments

@springroll12
Copy link

Hi. Love Code-Surfer!

Is there a clean way to integrate this library into other presentation tools (e.g. spectacle)?

I see that it can be embedded in a website (pomb.us 👍), so it must be possible, but I'm having trouble following mdx-deck-code-surfer. Could you provide guidelines for integrating this library into other applications?

@pomber
Copy link
Owner

pomber commented Dec 13, 2019

You can use the @code-surfer/standalone package to use the React component directly (that's what I'm doing in gatsby-theme-waves which pomb.us is using), but it's undocumented and not very stable.

My (long term) idea is to extract most of code-surfer's code to vanilla js and make it easy to integrate with most js framework and meta-frameworks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants