Hi all. I’m trying to add language selection to my code snippets (like this https://stripe.com/docs/api/authentication?lang=ruby).
Would I need to create a custom div or is there a way I can modify the code snippet style in my project?
Thanks!
Adding a language selector to code snippets
-
- Jr. Propeller Head
- Posts: 1
- Joined: Thu Nov 17, 2022 10:58 pm
Re: Adding a language selector to code snippets
There's nothing like that built into Flare's code snippet control, so you'd have to create your own solution. Perhaps add Flare code snippets for the different languages, then use something like a Flare toggler or your own custom control to select the language.