#!/bin/sh
input=$(cat -)
input="${input#odin run src/}"
style=""
doctype=''
meta=''
start="$doctype
TypoML Preview$meta$style"
script='
'
end="$script"
output="$start$input$end"
echo "$output" > preview.html
nohup xdg-open preview.html > /dev/null 2>&1 &