mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
New doc theme (#387)
This commit is contained in:
@ -9,7 +9,9 @@ You can make exception a bit more readable by using the `WriteException` method.
|
||||
AnsiConsole.WriteException(ex);
|
||||
```
|
||||
|
||||
<img src="assets/images/exception.png" style="max-width: 100%;">
|
||||

|
||||
|
||||
|
||||
|
||||
## Shortening parts
|
||||
|
||||
@ -23,7 +25,7 @@ AnsiConsole.WriteException(ex,
|
||||
ExceptionFormats.ShortenMethods | ExceptionFormats.ShowLinks);
|
||||
```
|
||||
|
||||
<img src="assets/images/compact_exception.png" style="max-width: 100%;">
|
||||

|
||||
|
||||
## Customizing exception output
|
||||
|
||||
@ -49,4 +51,4 @@ AnsiConsole.WriteException(ex, new ExceptionSettings
|
||||
});
|
||||
```
|
||||
|
||||
<img src="assets/images/custom_exception.png" style="max-width: 100%;">
|
||||

|
Reference in New Issue
Block a user