Skip to content

Commit

Permalink
Add "txt" highlighting to Markdown blocks.
Browse files Browse the repository at this point in the history
This ensures it's styled with a differently-coloured background.
  • Loading branch information
bgrainger committed Nov 28, 2024
1 parent a2cab93 commit ce10e20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/content/tutorials/connect-to-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This tutorial will teach you how to connect to MySQL from .NET Core using C#.
First, install the [MySqlConnector NuGet package](https://www.nuget.org/packages/MySqlConnector/). From
a command prompt, run:

```
```txt
dotnet add package MySqlConnector
```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/tutorials/dapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You will need to install the following NuGet packages:

Build your connection string by substituting the appropriate values in this template:

```
```txt
Server=YOURSERVER; User ID=YOURUSERID; Password=YOURPASSWORD; Database=YOURDATABASE
```

Expand Down
4 changes: 2 additions & 2 deletions docs/content/tutorials/efcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It uses MySqlConnector to provide the core database connectivity.
In this tutorial, we'll use a console application to demonstrate the core concepts.
Create a console application, then add the Pomelo.EntityFrameworkCore.MySql NuGet package:

```
```txt
dotnet new console -o EFCoreMySQL
cd EFCoreMySQL
dotnet add package Pomelo.EntityFrameworkCore.MySql
Expand All @@ -32,7 +32,7 @@ dotnet add package Pomelo.EntityFrameworkCore.MySql

Build your connection string by substituting the appropriate values in this template:

```
```txt
Server=YOURSERVER; User ID=YOURUSERID; Password=YOURPASSWORD; Database=YOURDATABASE
```

Expand Down

0 comments on commit ce10e20

Please sign in to comment.