CodeBlock


Examples

curl -X POST 
https://api.sparkpost.com/api/v1/transmissions 
-H "Authorization: api-key-here" 
-H "Content-Type: application/json"

None


code
string
Required
The code to render in the CodeBlock
className
string
Optional class name for the CodeBlock
numbered
bool
Render line numbers (defaults to use chevrons)
height
number
Fixed height in pixels of the CodeBlock
dark
bool
Whether the code block is styled dark or light (defaults to light)