
#show raw:           set text(font: "JuliaMono")

// define cell layout
#let OutputCell = block.with(width:100%, inset: 5pt)
#let AnsiOutputCell = block.with(width: 100%, inset: 5pt)
#let StderrOutputCell = block.with(width: 100%, stroke: 1pt + red, inset: 5pt)

//#set highlight(top-edge: "ascender", bottom-edge: "descender")
#let invertbox(color, c) = box(outset: (x: 0.05em, y: 0.25em), fill: color, c)

//https://github.com/typst/typst/discussions/3057q

#let ansi-black          = rgb("#3E424D")
#let ansi-black-intense  = rgb("#282C36")
#let ansi-red            = rgb("#E75C58")
#let ansi-red-intense    = rgb("#B22B31")
#let ansi-green          = rgb("#00A250")
#let ansi-green-intense  = rgb("#007427")
#let ansi-yellow         = rgb("#DDB62B")
#let ansi-yellow-intense = rgb("#B27D12")
#let ansi-blue           = rgb("#208FFB")
#let ansi-blue-intense   = rgb("#0065CA")
#let ansi-magenta        = rgb("#D160C4")
#let ansi-magenta-intense = rgb("#A03196")
#let ansi-cyan            = rgb("#60C6C8")
#let ansi-cyan-intense    = rgb("#258F8F")
#let ansi-white           = rgb("#C5C1B4")
#let ansi-white-intense   = rgb("#A1A6B2")
#let ansi-default-inverse-fg = rgb("#FFFFFF")
#let ansi-default-inverse-bg = rgb("#000000")
