main
1#import "@preview/bullseye:0.1.0": show-target
2#import "@preview/hypraw:0.1.0": hypraw
3#import "@preview/zebraw:0.6.1": zebraw
4
5#let raw-template-html(body) = {
6 show: it => if (sys.inputs.at("x-renderer", default: "astro-typst") == "tybios") { it } else {
7 show: hypraw.with(dedup-styles: false, line-numbers: true, copy-button: false)
8 it
9 }
10 body
11}
12
13#let raw-template-paged(body) = {
14 show: zebraw.with(lang: false)
15 body
16}
17
18#let raw-template(body) = {
19 show: show-target(paged: raw-template-paged, html: raw-template-html)
20 body
21}