CodeBox properties
Summary
Props table
Parameter |
Type |
Default |
---|---|---|
string |
/ |
|
javascript | python | terminal | common |
'terminal' |
|
boolean |
true |
Props list
value
Type |
Default |
---|---|
string |
/ |
code to display - multiline string is supported
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