From 499c236884af7114ab3f8d531051aaa12d339fa5 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 5 Mar 2020 23:11:49 +0100 Subject: [PATCH] Fixed weird syntax error highlighting in markdown Apparently C# in markdown does not accept newlines. --- README.md | 3 +-- docfx/index.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7a238fb..be70321 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,7 @@ var client = new PVOutputClient(apiKey: "myPvOutputKey", ownedSystemId: 1); // Request output for today var outputResponse = await client.Output.GetOutputForDateAsync(DateTime.Today); var output = outputResponse.Value; -Console.WriteLine($"Output for date {output.OutputDate.ToShortDateString()}, - {output.EnergyGenerated} Wh generated"); +Console.WriteLine($"Output for date {output.OutputDate.ToShortDateString()}, {output.EnergyGenerated} Wh generated"); ``` diff --git a/docfx/index.md b/docfx/index.md index 7cebeab..b977a5e 100644 --- a/docfx/index.md +++ b/docfx/index.md @@ -19,8 +19,7 @@ var client = new PVOutputClient(apiKey: "myPvOutputKey", ownedSystemId: 1); // Request output for today var outputResponse = await client.Output.GetOutputForDateAsync(DateTime.Today); var output = outputResponse.Value; -Console.WriteLine($"Output for date {output.OutputDate.ToShortDateString()}, - {output.EnergyGenerated} Wh generated"); +Console.WriteLine($"Output for date {output.OutputDate.ToShortDateString()}, {output.EnergyGenerated} Wh generated"); ``` ### Adding data to a system in PVOutput.org