Skip to content

Commit 9a6678f

Browse files
devlooped-botkzu
authored andcommitted
+Mᐁ includes
1 parent 6226037 commit 9a6678f

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

src/gist/readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ Example:
3333
dnx gist kzu/52b115ce24c7978ddc33245d4ff840f5 dotnet rocks
3434
```
3535

36-
View [source gist](https://gist.github.com/kzu/52b115ce24c7978ddc33245d4ff840f5).
36+
View [source gist](https://gist.github.com/kzu/52b115ce24c7978ddc33245d4ff840f5):
37+
38+
```csharp
39+
#:package Spectre.Console@*
40+
41+
using Spectre.Console;
42+
43+
AnsiConsole.MarkupLine($"Hello world from [green]dnx[/] [yellow]gist[/] :rocket: [bold italic]{string.Join(' ', args)}[/]");
44+
```
3745

3846
When running different files from the same repo+ref, the download will be performed only once.
3947
The last download etag is used to avoid downloading on each run.

src/runcs/readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ Example:
3232
dnx runcs kzu/runcs@v1:run.cs dotnet rocks
3333
```
3434

35-
View [source](https://github.com/kzu/runcs/blob/v1/run.cs).
35+
View [source](https://github.com/kzu/runcs/blob/v1/run.cs):
36+
37+
```csharp
38+
#:package Spectre.Console@*
39+
40+
using Spectre.Console;
41+
42+
AnsiConsole.MarkupLine($"Hello world from [green]dnx[/] [yellow]gist[/] :rocket: [bold italic]{string.Join(' ', args)}[/]");
43+
```
3644

3745
> [!TIP]
3846
> The repo does not need to be public. In that case, the same authentication

0 commit comments

Comments
 (0)