A file, highlighted
show: puts a file on screen with syntax highlighting — Shiki at build time, 24-bit colour in the cast, nothing extra in the browser.
A file, highlighted
examples/show.terminal.yamlversion: 1
terminal:
title: show
cols: 64
rows: 12
theme: catppuccin-mocha
steps:
- run: cat astro.config.ts
- show: snippets/astro.config.ts
- wait: 1500$ cat astro.config.ts import castwright from '@casoon/astro-castwright'; import { defineConfig } from 'astro/config'; // Compiles every *.terminal.yaml at build time. export default defineConfig({ integrations: [castwright()], });