vertical-spectreviewer
1.0.3-dev.20240118.1
Prefix Reserved
dotnet add package vertical-spectreviewer --version 1.0.3-dev.20240118.1
NuGet\Install-Package vertical-spectreviewer -Version 1.0.3-dev.20240118.1
<PackageReference Include="vertical-spectreviewer" Version="1.0.3-dev.20240118.1" />
paket add vertical-spectreviewer --version 1.0.3-dev.20240118.1
#r "nuget: vertical-spectreviewer, 1.0.3-dev.20240118.1"
// Install vertical-spectreviewer as a Cake Addin #addin nuget:?package=vertical-spectreviewer&version=1.0.3-dev.20240118.1&prerelease // Install vertical-spectreviewer as a Cake Tool #tool nuget:?package=vertical-spectreviewer&version=1.0.3-dev.20240118.1&prerelease
vertical-spectreviewer
A pageable content viewer that uses spectre console for rendering.
Quick setup
Install:
> dotnet package add vertical-spectreview --preelease
Call one of the methods on the SpectreViewer
class with content you would normally send to SpectreConsole. The example below provides content from a file.
// Renders markup found in a file
SpectreViewer.MarkupWithPaging(File.OpenRead("marked-up.txt"));
The utility will display the content of the string or stream and let the user page through using PageUp
and PageDown
keys.
A note on input
Recall spectre console markup - [gold]...[/]
, etc. If you want to use brackets in the rendered content, be sure to properly escape them (e.g. [[ my-escaped-content ]]
).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Spectre.Console (>= 0.48.1-preview.0.17)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.3-dev.20240118.1 | 67 | 1/18/2024 |