VOOZH about

URL: https://www.nuget.org/packages/OfficeIMO.Markdown.Html/

⇱ NuGet Gallery | OfficeIMO.Markdown.Html 0.1.33




👁 Image
OfficeIMO.Markdown.Html 0.1.33

Prefix Reserved
dotnet add package OfficeIMO.Markdown.Html --version 0.1.33
 
 
NuGet\Install-Package OfficeIMO.Markdown.Html -Version 0.1.33
 
 
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="OfficeIMO.Markdown.Html" Version="0.1.33" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeIMO.Markdown.Html" Version="0.1.33" />
 
Directory.Packages.props
<PackageReference Include="OfficeIMO.Markdown.Html" />
 
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 OfficeIMO.Markdown.Html --version 0.1.33
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OfficeIMO.Markdown.Html, 0.1.33"
 
 
#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 OfficeIMO.Markdown.Html@0.1.33
 
 
#: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=OfficeIMO.Markdown.Html&version=0.1.33
 
Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Markdown.Html&version=0.1.33
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

OfficeIMO.Markdown.Html - HTML to Markdown conversion

👁 nuget version
👁 nuget downloads

OfficeIMO.Markdown.Html converts HTML fragments or full HTML documents into Markdown text and OfficeIMO.Markdown document models.

Install

dotnet add package OfficeIMO.Markdown.Html

Quick start

using OfficeIMO.Markdown;
using OfficeIMO.Markdown.Html;

string markdown = "<h1>Hello</h1><p>Body</p>".ToMarkdown();
MarkdownDoc document = "<h1>Hello</h1><p>Body</p>".LoadFromHtml();

Options

using OfficeIMO.Markdown.Html;

var options = new HtmlToMarkdownOptions {
 BaseUri = new Uri("https://example.com/docs/"),
 UseBodyContentsOnly = true,
 PreserveUnsupportedBlocks = true,
 PreserveUnsupportedInlineHtml = true
};

string markdown = "<p><a href=\"guide/start\">Docs</a></p>".ToMarkdown(options);

What it maps

  • Headings, paragraphs, ordered and unordered lists, block quotes, code blocks, horizontal rules, tables, images, figures, details/summary, definition lists, and raw HTML fallback blocks.
  • Emphasis, strong emphasis, strike-through, code spans, links, images, line breaks, and selected inline HTML wrappers.
  • Relative links and image targets when a base URI is supplied.
  • Shared data-omd-* visual host elements back into semantic fenced blocks when host hints are registered.
  • Custom block and inline converters for host or plug-in packages.

Profiles

  • Use the OfficeIMO profile when the downstream consumer is OfficeIMO.Markdown or OfficeIMO.MarkdownRenderer.
  • Use the portable profile when output should remain friendly to generic Markdown engines.
var options = HtmlToMarkdownOptions.CreatePortableProfile();
string portable = "<blockquote><p><strong>Example</strong></p></blockquote>".ToMarkdown(options);

Boundaries

  • This package owns HTML ingestion into Markdown.
  • It does not render Markdown to a host shell; that belongs in OfficeIMO.MarkdownRenderer.
  • It does not export to PDF; that belongs in OfficeIMO.Markdown.Pdf and OfficeIMO.Pdf.

Targets and license

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

NuGet packages (6)

Showing the top 5 NuGet packages that depend on OfficeIMO.Markdown.Html:

Package Downloads
OfficeIMO.Word.Markdown

Markdown converter for OfficeIMO.Word - Convert Word documents to/from Markdown using OfficeIMO.Markdown

HtmlTinkerX

Package Description

OfficeIMO.MarkdownRenderer

WebView-friendly Markdown rendering helpers (shell + incremental updates) built on OfficeIMO.Markdown.

OfficeIMO.Reader.Html

HTML adapter for OfficeIMO.Reader using OfficeIMO.Markdown.Html.

OfficeIMO.Html.Pdf

Bidirectional HTML/PDF converter for OfficeIMO - Thin adapter over OfficeIMO.Markdown.Html, OfficeIMO.Word.Html, and the first-party OfficeIMO.Pdf logical/read/render engines.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.33 181 6/16/2026
0.1.32 297 6/16/2026
0.1.31 390 6/15/2026
0.1.30 543 6/13/2026
0.1.29 566 6/12/2026
0.1.28 563 6/9/2026
0.1.27 765 6/5/2026
0.1.26 679 5/27/2026
0.1.25 544 5/26/2026
0.1.24 487 5/26/2026
0.1.23 571 5/23/2026
0.1.22 526 5/22/2026
0.1.21 491 5/21/2026
0.1.20 487 5/21/2026
0.1.19 481 5/20/2026
0.1.18 499 5/19/2026
0.1.17 490 5/18/2026
0.1.16 738 5/16/2026
0.1.15 457 5/14/2026
0.1.14 685 5/14/2026
Loading failed