Skip to content

Commit a2f876e

Browse files
Docs: fix syntax highlighting (#1016)
1 parent 41b7094 commit a2f876e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/reporting/reqnroll-formatters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ dotnet test --logger "console;verbosity=detailed" > log.txt
177177

178178
Note: The built-in `TraceListenerFormatterLog` does not seem to produce visible results for NUnit (works with MsTest). As an alternative, you can implement a simple listener that saves the messages to a file (the file will be generated in the output folder, e.g. `bin\Debug\net8.0`).
179179

180-
```
180+
```{code-block} c#
181181
public class FileFormatterLog : IFormatterLog
182182
{
183183
private readonly List<string> _entries = new();
@@ -192,4 +192,4 @@ public class FileFormatterLog : IFormatterLog
192192
File.WriteAllLines("formatter_log.txt", _entries);
193193
}
194194
}
195-
```
195+
```

0 commit comments

Comments
 (0)