![]() |
VOOZH | about |
dotnet add package OfficeIMO.Markdown --version 0.6.33
NuGet\Install-Package OfficeIMO.Markdown -Version 0.6.33
<PackageReference Include="OfficeIMO.Markdown" Version="0.6.33" />
<PackageVersion Include="OfficeIMO.Markdown" Version="0.6.33" />Directory.Packages.props
<PackageReference Include="OfficeIMO.Markdown" />Project file
paket add OfficeIMO.Markdown --version 0.6.33
#r "nuget: OfficeIMO.Markdown, 0.6.33"
#:package OfficeIMO.Markdown@0.6.33
#addin nuget:?package=OfficeIMO.Markdown&version=0.6.33Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Markdown&version=0.6.33Install as a Cake Tool
👁 nuget version
👁 nuget downloads
OfficeIMO.Markdown is the core Markdown package in the OfficeIMO family. It builds Markdown, parses Markdown into a typed document model, projects native AST snapshots for hosts, and renders HTML without external runtime dependencies.
If OfficeIMO saves you time, please consider supporting the work through GitHub Sponsors or PayPal.
dotnet add package OfficeIMO.Markdown
using OfficeIMO.Markdown;
var document = MarkdownDoc.Create()
.FrontMatter(new { title = "OfficeIMO.Markdown", tags = new[] { "docs", "reporting" } })
.H1("OfficeIMO.Markdown")
.P("Typed Markdown builder, reader, and HTML renderer for .NET.")
.Ul(list => list
.Item("Build Markdown with a fluent API")
.Item("Parse Markdown into typed blocks and inlines")
.Item("Render HTML fragments or full documents"))
.Code("powershell", "dotnet add package OfficeIMO.Markdown");
string markdown = document.ToMarkdown();
string htmlFragment = document.ToHtmlFragment();
string htmlDocument = document.ToHtmlDocument();
MarkdownDoc object model with headings, blocks, inlines, anchors, source spans, front matter, and transform diagnostics.var results = new[] {
new { Name = "Alice", Role = "Dev", Score = 98.5 },
new { Name = "Bob", Role = "Ops", Score = 91.0 }
};
var document = MarkdownDoc.Create()
.H2("Team")
.Table(table => table.FromSequence(results,
("Name", item => item.Name),
("Role", item => item.Role),
("Score", item => item.Score)));
var parsed = MarkdownReader.Parse(File.ReadAllText("README.md"));
foreach (var heading in parsed.GetHeadingInfos()) {
Console.WriteLine($"{heading.Level}: {heading.Text} -> {heading.Anchor}");
}
MarkdownNativeDocument native = MarkdownNativeDocument.Parse("""
# Investigation
See **CPU** in [dashboard](https://example.com).
""");
var snapshot = native.ToSnapshot();
var document = MarkdownDoc.Create()
.FrontMatter(new {
title = "Deployment checklist",
owner = "Platform",
tags = new[] { "runbook", "deployment" }
})
.H1("Deployment checklist")
.Toc(options => {
options.Title = "Contents";
options.MinLevel = 2;
options.MaxLevel = 3;
})
.H2("Pre-flight")
.Ul(list => list
.ItemTask("Packages published", done: true)
.ItemTask("Change approved")
.ItemTask("Rollback plan attached"))
.Callout("warning", "Freeze window", "Do not deploy outside the approved window.")
.Details("Rollback commands", body => body
.Code("powershell", "dotnet nuget locals all --clear"));
string markdown = document.ToMarkdown();
var document = MarkdownDoc.Create()
.H1("Status")
.P(p => p.Text("Generated ").Bold("today").Text(" for the portal."))
.TableAuto(table => table
.Headers("Service", "Status", "Latency")
.Row("API", "Green", "42")
.Row("Jobs", "Yellow", "210"));
string fragment = document.ToHtmlFragment();
string fullPage = document.ToHtmlDocument();
HtmlRenderParts parts = document.ToHtmlParts();
var parsed = MarkdownReader.Parse(File.ReadAllText("README.md"),
MarkdownReaderOptions.CreateOfficeIMOProfile());
if (!parsed.HasHeading("Install")) {
parsed.H2("Install")
.Code("powershell", "dotnet add package OfficeIMO.Markdown");
}
foreach (var heading in parsed.GetHeadingInfos()) {
Console.WriteLine($"{heading.Level}: {heading.Text} -> #{heading.Anchor}");
}
File.WriteAllText("README.normalized.md", parsed.ToMarkdown());
| Package | Use it for |
|---|---|
| HTML to Markdown document conversion. | |
Markdown to PDF through OfficeIMO.Pdf. |
|
| WebView/browser-friendly shell rendering and incremental updates. | |
| Word to/from Markdown conversion. | |
| Markdown-inspired semantic authoring for OfficeIMO document outputs. |
OfficeIMO.Markdown owns the Markdown model, parser, writer, and HTML renderer.OfficeIMO.Markdown.Pdf.OfficeIMO.Markdown.Html.OfficeIMO.MarkdownRenderer and host-specific plug-ins.netstandard2.0, net8.0, net10.0.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on OfficeIMO.Markdown:
| Package | Downloads |
|---|---|
|
OfficeIMO.Markdown.Html
HTML converter for OfficeIMO.Markdown - Convert HTML fragments or documents into OfficeIMO.Markdown documents and Markdown text. |
|
|
OfficeIMO.Word.Markdown
Markdown converter for OfficeIMO.Word - Convert Word documents to/from Markdown using OfficeIMO.Markdown |
|
|
OfficeIMO.Reader
Unified, read-only document extraction facade for OfficeIMO (Word/Excel/PowerPoint/Markdown/PDF) intended for AI ingestion. |
|
|
OfficeIMO.MarkdownRenderer
WebView-friendly Markdown rendering helpers (shell + incremental updates) built on OfficeIMO.Markdown. |
|
|
HtmlForgeX.Markdown
Advanced Markdown integration for HtmlForgeX powered by OfficeIMO.Markdown. Maps Markdown blocks to HtmlForgeX elements and registers libraries via HtmlForgeX. |
Showing the top 1 popular GitHub repositories that depend on OfficeIMO.Markdown:
| Repository | Stars |
|---|---|
|
EvotecIT/PSWriteOffice
PowerShell Module to create and edit Microsoft Word, Microsoft Excel, and Microsoft PowerPoint documents without having Microsoft Office installed.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.33 | 348 | 6/16/2026 |
| 0.6.32 | 468 | 6/16/2026 |
| 0.6.31 | 652 | 6/15/2026 |
| 0.6.30 | 790 | 6/13/2026 |
| 0.6.29 | 976 | 6/12/2026 |
| 0.6.28 | 722 | 6/9/2026 |
| 0.6.27 | 974 | 6/5/2026 |
| 0.6.26 | 951 | 5/27/2026 |
| 0.6.25 | 652 | 5/26/2026 |
| 0.6.24 | 607 | 5/26/2026 |
| 0.6.23 | 1,030 | 5/23/2026 |
| 0.6.22 | 639 | 5/22/2026 |
| 0.6.21 | 594 | 5/21/2026 |
| 0.6.20 | 593 | 5/21/2026 |
| 0.6.19 | 675 | 5/20/2026 |
| 0.6.18 | 594 | 5/19/2026 |
| 0.6.17 | 577 | 5/18/2026 |
| 0.6.16 | 840 | 5/16/2026 |
| 0.6.15 | 609 | 5/14/2026 |
| 0.6.14 | 792 | 5/14/2026 |
0.6.0: adds semantic fenced-block AST support, fenced block extension APIs, improved quoted/container fence handling, and HTML parts/asset workflows aligned for downstream HTML-to-Markdown and host integrations.