Functional syntax highlighting for rust

This commit is contained in:
Nathan McCarty 2025-02-07 05:48:05 -05:00
parent 731d7aa19c
commit 19e06488c4
7 changed files with 299 additions and 5 deletions

View file

@ -6,7 +6,7 @@ use JSON::Fast;
#| Run pandoc with the given arguments, dieing on failure
sub pandoc(*@args --> Str:D) {
# Call into pandoc
my $pandoc = run 'pandoc', @args, :out, :err;
my $pandoc = run 'pandoc', '--no-highlight', @args, :out, :err;
# Collect the output
my $output = $pandoc.out.slurp: :close;