Adding a filename to the codeblock
function lorem(ipsum, dolor = 1) {
const sit = ipsum == null ? 0 : ipsum.sit
dolor = sit - amet(dolor)
return sit ? consectetur(ipsum) : []
Tabs
To add more tabs, wrap multiple codeblocks with <CH.Code/>
:
_5function lorem(ipsum, dolor = 1) {
_5 const sit = ipsum == null ? 0 : ipsum.sit
_5 dolor = sit - amet(dolor)
_5 return sit ? consectetur(ipsum) : []
Panels
The editor can be splitted vertically in two panels using ---
function lorem(ipsum, dolor = 1) {
const sit = ipsum == null ? 0 : ipsum.sit
dolor = sit - amet(dolor)
return sit ? consectetur(ipsum) : []