NuStreamDocs.Fonts 1.20.1

dotnet add package NuStreamDocs.Fonts --version 1.20.1
                    
NuGet\Install-Package NuStreamDocs.Fonts -Version 1.20.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NuStreamDocs.Fonts" Version="1.20.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuStreamDocs.Fonts" Version="1.20.1" />
                    
Directory.Packages.props
<PackageReference Include="NuStreamDocs.Fonts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NuStreamDocs.Fonts --version 1.20.1
                    
#r "nuget: NuStreamDocs.Fonts, 1.20.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NuStreamDocs.Fonts@1.20.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NuStreamDocs.Fonts&version=1.20.1
                    
Install as a Cake Addin
#tool nuget:?package=NuStreamDocs.Fonts&version=1.20.1
                    
Install as a Cake Tool

CI Build Coverage Reliability Rating Duplicated Lines (%) Vulnerabilities Security Rating NuGet Downloads GitHub stars License: MIT

<br> <a href="https://github.com/glennawatson/NuStreamDocs"> <img width="160" height="160" src="https://raw.githubusercontent.com/glennawatson/NuStreamDocs/main/icons/nustreamdocs.png?v=2" alt="NuStreamDocs"> </a> <br>

NuStreamDocs

A high-performance, Native AOT-ready .NET library for building static documentation sites from Markdown. Wire DocBuilder into a tiny C# console project, pick a theme and the plugins you want, and run dotnet run (or publish a single-file native executable).

Every parser, lexer, template engine, and HTML rewriter processes UTF-8 ReadOnlySpan<byte> buffers directly with zero regular expressions and zero runtime reflection.

Documentation

Full guides and module references live in docs/:

Quick Start

dotnet new console -n MyDocs && cd MyDocs
dotnet add package NuStreamDocs
dotnet add package NuStreamDocs.Theme.Material3
dotnet add package NuStreamDocs.Nav
dotnet add package NuStreamDocs.Toc
dotnet add package NuStreamDocs.Highlight
dotnet add package NuStreamDocs.Search.Pagefind
dotnet add package NuStreamDocs.MarkdownExtensions
using NuStreamDocs.Building;
using NuStreamDocs.Highlight;
using NuStreamDocs.MarkdownExtensions;
using NuStreamDocs.Nav;
using NuStreamDocs.Search.Pagefind;
using NuStreamDocs.Theme.Material3;
using NuStreamDocs.Toc;

await new DocBuilder()
    .WithInput("docs")
    .WithOutput("site")
    .WithSiteName("My Project"u8)
    .WithSiteUrl("https://docs.example.com"u8)
    .UseDirectoryUrls()
    .UseMaterial3Theme()
    .UseNav(opts => opts with { Prune = true })
    .UseToc()
    .UseHighlight()
    .UsePagefindSearch()
    .UseCommonMarkdownExtensions()
    .BuildAsync();

Modules

Each module ships as its own NuGet package so you only pull what you use. Click Guide on any row for full options, syntax, and output examples.

Essentials & Themes

Package NuGet Docs Builder Summary
NuStreamDocs ver Guide new DocBuilder() Core UTF-8 Markdown compiler, HTML emitter, and plugin pipeline.
NuStreamDocs.Theme.Material3 ver Guide .UseMaterial3Theme() Material Design 3 token-driven documentation theme.
NuStreamDocs.Theme.Material ver Guide .UseMaterialTheme() Classic mkdocs-material documentation theme.
NuStreamDocs.Nav ver Guide .UseNav() Sidebar navigation, .pages overrides, ordering, and orphan checks.
NuStreamDocs.Toc ver Guide .UseToc() Per-page table of contents and heading permalink anchors.
NuStreamDocs.Highlight ver Guide .UseHighlight() Server-side UTF-8 syntax highlighting, line numbers, hl_lines, [!code ++/--/focus], callouts, and copy buttons.
NuStreamDocs.MarkdownExtensions ver Guide .UseCommonMarkdownExtensions() Admonitions, tabs, details, tables, footnotes, checklists, abbreviations, and CriticMarkup.
Package NuGet Docs Builder Summary
NuStreamDocs.Search.Pagefind ver Guide .UsePagefindSearch() Sharded WASM search index with snippets via bundled Pagefind CLI.
NuStreamDocs.Search.Lunr ver Guide .UseLunrSearch() Pure-JS Lunr-compatible JSON search index.
NuStreamDocs.Search.Sqlite ver Guide .UseSqliteSearch() Single-file search.db (SQLite FTS5 over HTTP Range requests) for large sites.
NuStreamDocs.Search ver Guide .UseSearch() Shared search base and section-priority ranking metadata.
NuStreamDocs.Playgrounds ver Guide .UsePlaygrounds() Interactive HTTP API request consoles and sandboxed live code embeds.

Authoring & Markdown Syntax

Package NuGet Docs Builder Summary
NuStreamDocs.Snippets ver Guide .UseSnippets() --8<-- "file#section" whole-file and section includes.
NuStreamDocs.Macros ver Guide .UseMacros() {{ name }} dictionary variable substitution outside code spans.
NuStreamDocs.GitInfo ver Guide .UseGitInfo() Batched git log revision dates, contributor footers, and sitemap.xml <lastmod> enrichment.
NuStreamDocs.Layouts ver Guide .UseLayouts() Jinja-style {% extends %} / {% block %} Markdown template inheritance.
NuStreamDocs.Bibliography ver Guide .UseBibliography() Pandoc [@key] citations, CSL-JSON loader, and AGLC4 formatting.
NuStreamDocs.SuperFences ver Guide .UseSuperFences() Custom fenced-block dispatcher for diagram and widget plugins.
NuStreamDocs.Arithmatex ver Guide .UseArithmatex() $x$ and $$x$$ TeX math markup.
NuStreamDocs.Arithmatex.MathJax ver Guide .UseMathJax() Client-side MathJax 3 runtime injection.
NuStreamDocs.Emoji ver Guide .UseEmoji() :shortcode: Twemoji spans.
NuStreamDocs.Keys ver Guide .UseKeys() ++ctrl+alt+del++ keyboard chord markup.
NuStreamDocs.SmartSymbols ver Guide .UseSmartSymbols() Typographic arrows, fractions, and (c) / (tm) symbols.
NuStreamDocs.Glossary ver Guide .UseGlossary() Central glossary page generator and accessible <abbr> term tooltips.
NuStreamDocs.MagicLink ver Guide .UseMagicLink() Bare URL and email autolinking.

Media & Icons

Package NuGet Docs Builder Summary
NuStreamDocs.Videos ver Guide .UseVideos() Responsive embeds for YouTube, Vimeo, OneDrive, SharePoint/Stream, Azure, Loom, Dailymotion, Twitch, Wistia, Cloudflare, Google Drive, Bilibili, Vidyard, and HTML5 video.
NuStreamDocs.Mermaid ver Guide .UseMermaid() Fenced mermaid diagram rendering.
NuStreamDocs.Lightbox ver Guide .UseLightbox() glightbox zoomable content images.
NuStreamDocs.Images ver Guide .UseImages() Zero-CLS PNG/JPEG/GIF/WebP/AVIF/SVG dimension reader, loading="lazy", decoding="async", and <figure> captions.
NuStreamDocs.Icons.MaterialDesign ver Guide new MdiIconResolver() Inline SVG Pictogrammers Material Design Icons (~7,400 icons).
NuStreamDocs.Icons.Material ver Guide .UseMaterialIcons() Google Material Icons / Symbols stylesheet link.
NuStreamDocs.Icons.FontAwesome ver Guide .UseFontAwesome() Font Awesome Free stylesheet link.

Content Sources, API Reference & Blogs

Package NuGet Docs Builder Summary
NuStreamDocs.CSharpApiGenerator ver Guide .UseCSharpApiGenerator() Generates C# API reference pages from NuGet packages or DLLs.
NuStreamDocs.ContentLoader ver Guide .UseContentLoaders(...) Synthesizes pages from JSON/YAML files, REST/GraphQL endpoints, and raw URLs.
NuStreamDocs.ContentLoader.OpenApi ver Guide new OpenApiContentLoader(...) Generates REST reference pages from OpenAPI 3.x specs.
NuStreamDocs.ContentLoader.Schemas ver Guide new JsonSchemaContentLoader(...) Generates reference pages from JSON Schema, GraphQL SDL, and AsyncAPI specs.
NuStreamDocs.ContentLoader.GitHub ver Guide new GitHubContentLoader(...) Pulls remote repo Markdown trees and GitHub Releases changelogs.
NuStreamDocs.ContentLoader.Feed ver Guide new FeedContentLoader(...) Imports external RSS/Atom items as documentation pages.
NuStreamDocs.Blog.MkDocs ver Guide .UseMkDocsBlog() mkdocs-material-flavored blog/posts/ index and category archives.
NuStreamDocs.Blog ver Guide .UseWyamBlog() Wyam-flavored YYYY-MM-DD-slug.md blog and tag archives.
NuStreamDocs.Feed ver Guide .UseFeed() RSS 2.0 and Atom 1.0 feed generation.
NuStreamDocs.Export ver Guide .UseExport() Consolidates all chapters into a standalone print-ready and PDF-ready /print.html bundle.

Site Emitters, Config Readers, Security & Dev Experience

Package NuGet Docs Builder Summary
NuStreamDocs.Sitemap ver Guide .UseSitemap(), .UseNotFoundPage() Emits sitemap.xml, robots.txt, and themed 404.html.
NuStreamDocs.Redirects ver Guide .UseRedirects(...) Emits _redirects, _headers, and meta-refresh HTML stubs from redirect_from.
NuStreamDocs.I18n ver Guide .UseI18n(...) Multi-locale routing, fallback synthesis, hreflang head and sitemap.xml links, and language switcher.
NuStreamDocs.Versions ver Guide .UseVersions() mike-compatible versions.json multi-release manifest.
NuStreamDocs.Tags ver Guide .UseTags() Tag index and per-tag listing pages from tags: frontmatter.
NuStreamDocs.Metadata ver Guide .UseMetadata() Directory _meta.yml and page.meta.yml frontmatter inheritance.
NuStreamDocs.Autorefs ver Guide .UseAutorefs() Cross-page @autoref:ID heading and UID resolution.
NuStreamDocs.Xrefs ver Guide .UseXrefs() DocFX xrefmap.json emission and external xrefmap import.
NuStreamDocs.SphinxInventory ver Guide .UseSphinxInventory() Sphinx v2 objects.inv intersphinx emitter.
NuStreamDocs.Llms ver Guide .UseLlms() Emits /llms.txt, /llms-full.txt, and clean .md page siblings for AI coding assistants.
NuStreamDocs.Privacy ver Guide .UsePrivacy() Downloads third-party assets into assets/external/ at build time.
NuStreamDocs.Csp ver Guide .UseCsp(...) Per-page SHA-256 hashed Content-Security-Policy meta injection.
NuStreamDocs.Fonts ver Guide .UseFonts(...) Build-time .woff2 font self-hosting with zero-CLS fallback metrics.
NuStreamDocs.Optimize ver Guide .UseOptimize(), .UseHtmlMinify() HTML minification and pre-compressed .gz / .br sibling assets.
NuStreamDocs.Audit ver Guide .UseAudit(...) Build-time accessibility and HTML quality linter.
NuStreamDocs.LinkValidator ver Guide .UseLinkValidator() Strict internal anchor/path checker and throttled external URL validator.
NuStreamDocs.Transitions ver Guide .UseTransitions(...) View Transitions soft router with hover prefetching.
NuStreamDocs.Serve ver Guide .WatchAndServeAsync() Debounced file watcher, Kestrel static server, and WebSocket LiveReload.
NuStreamDocs.Social ver Guide .UseSocial() OpenGraph, Twitter/X cards, canonical URLs, Schema.org JSON-LD, and 1200x630 SVG social preview cards.
NuStreamDocs.Config.MkDocs ver Guide .UseMkDocsConfig() Span-based mkdocs.yml configuration reader.
NuStreamDocs.Config.Zensical ver Guide .UseZensicalConfig() Span-based zensical.toml configuration reader.
NuStreamDocs.Config.DocFx ver Guide .WithDocFxToc() DocFX toc.yml navigation reader.

(Shared plumbing packages pulled transitively: NuStreamDocs.Common, NuStreamDocs.Markdown.Common, NuStreamDocs.Templating, NuStreamDocs.Theme.Common, and NuStreamDocs.Blog.Common.)

Testing & Contributing

cd src
dotnet test --solution NuStreamDocs.slnx

Read CONTRIBUTING.md and CLAUDE.md before opening a pull request.

License

MIT. See LICENSE and Acknowledgements & Third-Party Credits.

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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NuStreamDocs.Fonts:

Package Downloads
NuStreamDocs.Theme.Material3

Material Design 3 theme for NuStreamDocs. MD3 design tokens (color roles, shape, typography, elevation) for a modern look. Page template, styles, and scripts all ship inside the package — no external assets to manage.

NuStreamDocs.Theme.Material

Material-styled theme for NuStreamDocs. Page template, styles, and scripts all ship inside the package — no external assets to manage.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.20.1 52 11/28/2026
1.20.0 64 11/28/2026
1.19.0 58 11/27/2026
1.18.0 174 11/14/2026
1.17.0 241 9/26/2026
1.16.0 124 9/26/2026
1.15.0 126 9/26/2026
1.14.0 126 9/26/2026
1.13.0 172 9/21/2026
1.12.0 138 9/19/2026
1.11.0 140 9/19/2026
1.10.0 131 9/19/2026
1.9.0 133 9/19/2026
1.8.0 142 9/19/2026
1.7.0 130 9/18/2026
1.6.1 401 6/4/2026
1.6.0 167 6/4/2026