CodeInline
Server OnlyRenders an inline code
element with optional syntax highlighting.
This component is automatically set up to override the
code
element when
using the Next.js plugin.API Reference
CodeInline
View Sourcevalue *
string
Code snippet to be highlighted.
language
Languages
Language of the code snippet.
paddingX
string
= '0.25em'
Horizontal padding to apply to the wrapping element.
paddingY
string
= '0.1em'
Vertical padding to apply to the wrapping element.
className
string
Class name to apply to the wrapping element.
style
React.CSSProperties
Style to apply to the wrapping element.
Last updated