Skip to content

Commit

Permalink
docs(readme): fix markdown linting
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai committed Nov 19, 2024
1 parent 45a3692 commit cde397e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,16 +239,16 @@ C# usage is maintained through this library:
[vycdev/ColorNamesSharp](https://github.com/vycdev/ColorNamesSharp)
Additional info can be found there, but basic usage is outlined below:

You can download and install the [nuget package from here.](https://www.nuget.org/packages/ColorNamesSharp)
The library is available as a [nuget package](https://www.nuget.org/packages/ColorNamesSharp)

#### Creating the instance

```csharp
ColorNames colorNames = new ColorNamesBuilder()
.Add("Best Blue", "#3299fe") // Add your own custom colors
.LoadDefault() // Load the default color list
.AddFromCsv("path/to/your/colorlist.csv") // Add a custom color list from a csv file
.Build(); // Get a new ColorNames instance that includes all the colors you've added
.Add("Best Blue", "#3299fe") // Add your own custom colors
.LoadDefault() // Load the default color list
.AddFromCsv("path/to/your/colorlist.csv") // Add a custom color list from a csv file
.Build(); // Get a new ColorNames instance that includes all the colors you've added
```

#### Getting a fitting color name
Expand Down

0 comments on commit cde397e

Please sign in to comment.