Skip to content

Commit

Permalink
Merge pull request #274 from mfontanini/feat/nushell-code-execution
Browse files Browse the repository at this point in the history
feat: add nushell code execution
  • Loading branch information
mfontanini authored Jun 30, 2024
2 parents 61f3ce5 + bafa710 commit 0bd7463
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executors/nushell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

nu "$1"
1 change: 1 addition & 0 deletions src/markdown/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ pub enum CodeLanguage {
Mermaid,
Markdown,
Nix,
Nushell,
OCaml,
Perl,
Php,
Expand Down
1 change: 1 addition & 0 deletions src/render/highlighting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ impl CodeHighlighter {
Markdown => "md",
Mermaid => "txt",
Nix => "nix",
Nushell => "nix",
OCaml => "ml",
Perl => "pl",
Php => "php",
Expand Down

0 comments on commit 0bd7463

Please sign in to comment.