Styling
All styling options live under the style key in your quarto-term configuration. They can be set at the project level (in _quarto.yml), the document level (in the YAML front matter), or per cell (using #| comments). For the full list of all options (not just style), see the Reference.
extensions:
term:
style:
colorscheme: dracula
font-size: 0.85em
font-family: "Fira Code"
line-height: 1.3
cols: 80
rows: 24Options
| Option | Project | Document | Cell | Default | Description |
|---|---|---|---|---|---|
chrome |
x | x | x | false |
Window chrome with traffic light dots; string value becomes title |
colorscheme |
x | x | x | (none) | Colorscheme name (see below) |
colorscheme-light |
x | x | x | (none) | Colorscheme for light mode (HTML only) |
colorscheme-dark |
x | x | x | (none) | Colorscheme for dark mode (HTML only) |
font-family |
x | x | x | (none) | Font family for terminal output |
font-size |
x | x | x | (none) | Font size (e.g., 0.85em, 9pt) |
line-height |
x | x | x | (none) | Line height multiplier (e.g., 1.2) |
ansi |
x | x | x | true |
Render ANSI colors in output |
spacing |
x | x | x | false |
Add blank lines between commands in output |
trailing-spaces |
x | x | x | false |
Preserve trailing whitespace |
cols |
x | x | 80 |
Terminal width in columns | |
rows |
x | x | 24 |
Terminal height in rows |
colorscheme
Sets the terminal colorscheme. This determines background color, foreground color, and the 16 ANSI palette colors. See Dark Colorschemes and Light Colorschemes below for all built-in options.
colorscheme-light / colorscheme-dark
For HTML output with a light/dark theme toggle, you can specify separate colorschemes:
style:
colorscheme-light: github-light
colorscheme-dark: github-darkfont-family
Sets the monospace font for terminal output. Accepts any CSS font-family value:
style:
font-family: "Berkeley Mono, Fira Code, monospace"font-size
Controls the font size. Accepts em or pt units:
style:
font-size: 0.85emline-height
Controls line spacing as a multiplier of the font size:
style:
line-height: 1.3cols / rows
Sets the virtual terminal dimensions. cols controls how wide the terminal is (affecting line wrapping), while rows controls the visible height (relevant for fullscreen applications).
These cannot be set per cell because the PTY is shared across all cells in a document.
ansi
When true (the default), ANSI escape sequences produce colored output. Set to false to strip all color and render plain monochrome text.
trailing-spaces
When true, trailing spaces on each line are preserved. By default they are trimmed.
Format-Specific Overrides
Style options can be overridden per output format by nesting them under a format key:
extensions:
term:
style:
colorscheme: dracula
font-size: 0.9em
html:
colorscheme-light: github-light
colorscheme-dark: github-dark
pdf:
cols: 60
font-size: 0.75em
revealjs:
cols: 64
font-size: 0.65emRecognized format keys: html, pdf, revealjs, typst, epub, markdown, latex.
Per-Cell Style
Override style for individual cells using dotted keys:
```{term}
#| style.colorscheme: nord
#| style.font-size: 0.8em
echo "Styled cell"
```Or a nested block:
```{term}
#| style:
#| colorscheme: nord
#| font-size: 0.8em
echo "Styled cell"
```Format-specific overrides work at the cell level too:
```{term}
#| style.font-size: 0.9em
#| style.revealjs.font-size: 0.65em
echo "Different sizes per format"
```Window Chrome
Add macOS-style window decoration to terminal blocks with style.chrome: true:
echo "Hello from a terminal window"
Hello from a terminal window
ls -la ~/.zshrc
ls: cannot access '/home/runner/.zshrc': No such file or directory
The chrome option accepts a map with os, title, color, and shadow keys:
echo "macOS chrome with title"
macOS chrome with title
date
Sun Aug 9 07:52:27 PM UTC 2026
echo "Windows-style chrome"
Windows-style chrome
whoami
runner
echo "Linux-style chrome"
Linux-style chrome
uname -a
Linux runnervmvrwv9 6.17.0-1020-azure #20~24.04.1-Ubuntu SMP Fri Jun 19 20:09:14
UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Set style.chrome: true at the document or project level to apply chrome to all cells.
Dark Colorschemes
ayu-dark
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
campbell
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
catppuccin-frappe
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
catppuccin-macchiato
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
catppuccin-mocha
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
dracula
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
everforest-dark
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
github-dark
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
gruvbox-dark
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
iterm2
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
kanagawa
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
material-ocean
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
material-palenight
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
monokai
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
night-owl
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
nightfox
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
nord
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
one-dark
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
rose-pine
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
solarized-dark
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
tokyo-night
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
ubuntu
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Light Colorschemes
ayu-light
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
catppuccin-latte
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
everforest-light
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
github-light
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
gruvbox-light
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
rose-pine-dawn
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
solarized-light
for i ({0..15}) { print -nP "%K{$i} ${(l:2:)i} %k"; ((i%8==7))&&print }
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
export APP_ENV="production" COUNT=$(( 10 + 5 ))
if [[ -d "$HOME" && -n "$APP_ENV" ]]; then
print -P "%F{blue}Environment:%f \e[3m${APP_ENV:-default}\e[0m"
fi
Environment: production
echo "User: $(whoami)" | grep -iE 'a|e|i' > /dev/null
cowsay "quarto-term is udderly amazing" | lolcat -S 1337 -F 0.4 -t
________________________________
< quarto-term is udderly amazing >
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Custom Colorschemes
You can create your own colorscheme by defining a CSS file with the terminal color variables. Place it in the extension’s themes/ directory (e.g., _extensions/term/themes/my-theme.css) and reference it by name.
A colorscheme file defines 18 CSS custom properties:
:root {
--term-fg: #d4d4d4;
--term-bg: #1e1e1e;
--term-0: #000000; /* Black */
--term-1: #cd3131; /* Red */
--term-2: #0dbc79; /* Green */
--term-3: #e5e510; /* Yellow */
--term-4: #2472c8; /* Blue */
--term-5: #bc3fbc; /* Magenta */
--term-6: #11a8cd; /* Cyan */
--term-7: #e5e5e5; /* White */
--term-8: #666666; /* Bright Black */
--term-9: #f14c4c; /* Bright Red */
--term-10: #23d18b; /* Bright Green */
--term-11: #f5f543; /* Bright Yellow */
--term-12: #3b8eea; /* Bright Blue */
--term-13: #d670d6; /* Bright Magenta */
--term-14: #29b8db; /* Bright Cyan */
--term-15: #e5e5e5; /* Bright White */
}--term-bg and --term-fg control the terminal background and foreground colors. --term-0 through --term-15 map to the standard 16-color ANSI palette (0-7 normal, 8-15 bright).
To use a custom colorscheme:
extensions:
term:
style:
colorscheme: my-themeOr per cell:
```{term}
#| style.colorscheme: my-theme
echo "Custom themed!"
```