FSharp.Formatting.Literate
23.0.0-alpha.9
dotnet add package FSharp.Formatting.Literate --version 23.0.0-alpha.9
NuGet\Install-Package FSharp.Formatting.Literate -Version 23.0.0-alpha.9
<PackageReference Include="FSharp.Formatting.Literate" Version="23.0.0-alpha.9" />
<PackageVersion Include="FSharp.Formatting.Literate" Version="23.0.0-alpha.9" />
<PackageReference Include="FSharp.Formatting.Literate" />
paket add FSharp.Formatting.Literate --version 23.0.0-alpha.9
#r "nuget: FSharp.Formatting.Literate, 23.0.0-alpha.9"
#:package FSharp.Formatting.Literate@23.0.0-alpha.9
#addin nuget:?package=FSharp.Formatting.Literate&version=23.0.0-alpha.9&prerelease
#tool nuget:?package=FSharp.Formatting.Literate&version=23.0.0-alpha.9&prerelease
fsdocs and FSharp.Formatting

FSharp.Formatting is a set of libraries and tools for processing F# script files and markdown, and for
generating API documentation from XML doc comments. The primary tool is fsdocs.
Full documentation: https://fsprojects.github.io/FSharp.Formatting/
The fsdocs tool
fsdocs builds a static documentation site from the markdown files and F# scripts in your docs
folder, plus API reference pages for the projects in your solution.
dotnet tool install fsdocs-tool
dotnet fsdocs build
dotnet fsdocs watch
initcreates adocsfolder with a defaultindex.md.buildprocesses thedocsfolder and writes the site tooutput.watchbuilds the site, serves it locally and rebuilds on every change.convertconverts individual markdown and script files.
Run dotnet fsdocs <command> --help to see the options of a command, or read the
command line guide.
The libraries
The same functionality is available as NuGet packages for use from your own code:
- FSharp.Formatting bundles the markdown parser, F# code formatter, literate programming support and API doc generator.
- FSharp.Formatting.Literate only contains the literate programming support and its dependencies.
See Markdown parser, F# code formatting and literate programming for examples.
Contributing
See CONTRIBUTING.md for how to build the repository and run the tool locally.
Maintainer(s)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- FSharp.Compiler.Service (= 43.12.403)
- FSharp.Core (= 10.1.403)
- System.Text.Json (>= 10.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FSharp.Formatting.Literate:
| Package | Downloads |
|---|---|
|
FSharp.Formatting.ApiDocs
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 23.0.0-alpha.9 | 44 | 11/6/2026 |
| 23.0.0-alpha.8 | 90 | 9/18/2026 |
| 23.0.0-alpha.7 | 86 | 9/15/2026 |
| 23.0.0-alpha.6 | 81 | 9/15/2026 |
| 23.0.0-alpha.5 | 88 | 9/15/2026 |
| 23.0.0-alpha.4 | 79 | 9/13/2026 |
| 23.0.0-alpha.3 | 81 | 9/13/2026 |
| 23.0.0-alpha.2 | 93 | 9/10/2026 |
| 23.0.0-alpha.1 | 98 | 9/8/2026 |
| 22.2.0 | 149 | 8/31/2026 |
| 22.1.0 | 169 | 5/27/2026 |
| 22.0.1 | 145 | 5/9/2026 |
| 22.0.0 | 153 | 4/4/2026 |
| 22.0.0-alpha.3 | 106 | 4/2/2026 |
| 22.0.0-alpha.2 | 108 | 3/13/2026 |
| 22.0.0-alpha.1 | 110 | 3/5/2026 |
| 21.0.0 | 385 | 11/12/2025 |
| 21.0.0-beta-005 | 274 | 4/23/2025 |
| 21.0.0-beta-004 | 199 | 11/20/2024 |
| 21.0.0-beta-003 | 249 | 8/16/2024 |
### Changed
- Avoid recomputing `List.length` on the shrinking remainder for every scanned character when splitting a Markdown pipe-table row into cells (`pipeTableFindSplits` in `MarkdownTableParser.fs`). The scan now tracks the number of consumed characters incrementally, turning an O(n²) split into an O(n) one for rows with many delimiters, with no behavior change.
- Avoided a per-character `Seq.windowed`/`String()` allocation in `StartsWithNTimesTrimIgnoreStartWhitespace`, the active pattern used to count repeated fence characters (`` ` `` / `~`) when parsing code fences and headers. The count is now computed with `String.CompareOrdinal` over string offsets, with no intermediate substring allocations. Behavior is unchanged.
### Fixed
- A `<see langword="..."/>` in a doc comment rendered as nothing, so `Returns <see langword="true"/> when …` read "Returns when …". The API docs show the keyword as inline code, the same as `<c>true</c>`, and a tool tip on a code snippet keeps the word. [#1371](https://github.com/fsprojects/FSharp.Formatting/pull/1371)