diff --git a/executors/nushell.sh b/executors/nushell.sh new file mode 100644 index 00000000..7a4285fa --- /dev/null +++ b/executors/nushell.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +nu "$1" diff --git a/src/markdown/elements.rs b/src/markdown/elements.rs index d6e62f05..a5cd6e65 100644 --- a/src/markdown/elements.rs +++ b/src/markdown/elements.rs @@ -220,6 +220,7 @@ pub enum CodeLanguage { Mermaid, Markdown, Nix, + Nushell, OCaml, Perl, Php, diff --git a/src/render/highlighting.rs b/src/render/highlighting.rs index 620e29d9..59f86184 100644 --- a/src/render/highlighting.rs +++ b/src/render/highlighting.rs @@ -139,6 +139,7 @@ impl CodeHighlighter { Markdown => "md", Mermaid => "txt", Nix => "nix", + Nushell => "nix", OCaml => "ml", Perl => "pl", Php => "php",