Fix for correct code highlighting in doc (#24082)
Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>pull/24077/head
parent
7c38dc68fe
commit
e8da7d6485
|
@ -154,7 +154,7 @@ To test that the preceding commands override *appsettings.json* and *appsettings
|
||||||
|
|
||||||
Call <xref:Microsoft.Extensions.Configuration.EnvironmentVariablesExtensions.AddEnvironmentVariables*> with a string to specify a prefix for environment variables:
|
Call <xref:Microsoft.Extensions.Configuration.EnvironmentVariablesExtensions.AddEnvironmentVariables*> with a string to specify a prefix for environment variables:
|
||||||
|
|
||||||
[!code-csharp[](~/fundamentals/configuration/index/samples/6.x/ConfigSample/Program.cs?name=snippet_env&highlight=3-4)]
|
[!code-csharp[](~/fundamentals/configuration/index/samples/6.x/ConfigSample/Program.cs?name=snippet_env&highlight=5)]
|
||||||
|
|
||||||
In the preceding code:
|
In the preceding code:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue