Egap.Preview 2.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Egap.Preview --version 2.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Egap.Preview --version 2.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Egap.Preview&version=2.2.0
                    
nuke :add-package Egap.Preview --version 2.2.0
                    

Egap.Preview

egap-preview shows Egap documents on a local web page, drawn by Egap's own renderer, and draws them again as they change.

dotnet tool install -g Egap.Preview
egap-preview                  # shows what programs send with document.ShowPreview()
egap-preview letter.docx      # shows a DOCX file, again whenever it is saved

In code, call ShowPreview() on a document (Egap.Documents) and run the program under dotnet watch: each run sends the new pages and the page reloads. HTML and Markdown are previewed the same way: load them in your program with Egap.Documents.Html or Egap.Documents.Markdown and call ShowPreview(); the tool itself reads only DOCX. The tool listens on 127.0.0.1 only, port 12501 unless --port says otherwise, and answers only programs and its own page: other web pages can neither send it pages nor read them. Fully managed and MIT-licensed.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
2.3.0 10 11/23/2026
2.2.0 115 10/29/2026
2.1.0 115 10/22/2026