diff --git a/prepends/quote.typ b/prepends/quote.typ deleted file mode 100644 index bba122d..0000000 --- a/prepends/quote.typ +++ /dev/null @@ -1,15 +0,0 @@ -// Typst version 14.0.2 outputs a block quote as a
followed by -// a

for the attribution. This makes it difficult to target the -// attribution for styling. This snippet instead uses a

and -// a
wrapped in a
block. -#show quote.where(block: true): it => { - let inner = html.elem("blockquote", it.body) - if it.attribution != none { - html.elem("figure", { - inner - html.elem("figcaption", it.attribution) - }) - } else { - inner - } -} diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 9cab269..0000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,3 +0,0 @@ -[toolchain] -channel = "stable" - diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..afd09a7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + cargo + rustc + rust-analyzer + ]; +} +