Skip to content

CodeBox properties

Summary


Props table


Parameter
Type
Default
string
/
boolean
true
javascript | python | terminal | common
'terminal'
boolean
true


Props list



value

Type
Default
string
/


code to display - multiline string is supported



highlight

Type
Default
boolean
true


Enable/disable text highlight, based on selected environment



environment

Type
Default
javascript | python | terminal | common
'terminal'


environment for text highlight feature, default to 'terminal' (only enabled when 'highlight' is true)



copyButton

Type
Default
boolean
true


Enable/disable the copy button