You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but in this particular example CodeSnippet returns string and Code does not add any syntax highlighting.
It would be great to add an explanation how our code snippets should be prepared in order Code component to highlight their syntax properly and/or detect different languages.
Or maybe just add <ExampleCodes /> as a reference. 🤔
Am I the only one who does not get how to use Code component properly ? 😅
About
docs
This is a document site related issue.
Languages
Description
I've noticed that
Code
component in docs uses:I'm having a problem with implementing that component with my custom code examples in it.
or something like this:
and then
but in this particular example
CodeSnippet
returns string andCode
does not add any syntax highlighting.It would be great to add an explanation how our code snippets should be prepared in order
Code
component to highlight their syntax properly and/or detect different languages.Or maybe just add
<ExampleCodes />
as a reference. 🤔Am I the only one who does not get how to use
Code
component properly ? 😅Page Links (Optional)
https://geist-ui.dev/en-us/components/code#code-block
The text was updated successfully, but these errors were encountered: