Skip to content

Commit

Permalink
Add C# to code executors (#399)
Browse files Browse the repository at this point in the history
Closes #398.

To test:

```csharp +exec
// ignore
System.Console.WriteLine("Hello from C#");
```
  • Loading branch information
mfontanini authored Nov 26, 2024
2 parents 0d9e9ff + 5ed8d48 commit c5beb82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions executors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,8 @@ zsh:
commands:
- ["zsh", "$pwd/script.sh"]
hidden_line_prefix: "/// "
csharp:
filename: snippet.cs
commands:
- ["dotnet-script", "$pwd/snippet.cs"]
hidden_line_prefix: "/// "

0 comments on commit c5beb82

Please sign in to comment.