mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-04 11:48:16 +08:00
Moves all the pages up a level and hardcodes the section name
This commit is contained in:

committed by
Patrik Svensson

parent
65f0a085cc
commit
caf7661e66
25
docs/input/quick-start.md
Normal file
25
docs/input/quick-start.md
Normal file
@ -0,0 +1,25 @@
|
||||
Title: Quick Start
|
||||
Order: 1
|
||||
---
|
||||
|
||||
The fastest way of getting started using Spectre.Console is
|
||||
to install the NuGet package.
|
||||
|
||||
```shell
|
||||
> dotnet add package Spectre.Console
|
||||
```
|
||||
|
||||
After that you will need to reference the `Spectre.Console` namespace.
|
||||
Once that is done, you can start using all the available features.
|
||||
|
||||
```csharp
|
||||
using Spectre.Console
|
||||
|
||||
public static class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
AnsiConsole.Markup("[underline red]Hello[/] World!");
|
||||
}
|
||||
}
|
||||
```
|
Reference in New Issue
Block a user