Skip to content

Bump ReverseMarkdown from 5.3.0 to 6.1.0#1067

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/SRC.Sharp.Help/HelpConverter/ReverseMarkdown-6.1.0
Open

Bump ReverseMarkdown from 5.3.0 to 6.1.0#1067
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/SRC.Sharp.Help/HelpConverter/ReverseMarkdown-6.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 7, 2026

Copy link
Copy Markdown
Contributor

Updated ReverseMarkdown from 5.3.0 to 6.1.0.

Release notes

Sourced from ReverseMarkdown's releases.

6.1.0

What's Changed

Full Changelog: mysticmind/reversemarkdown-net@6.0.0...6.1.0

6.0.0

v6 is a ground-up rewrite of the conversion engine. HTML is parsed with AngleSharp's HTML5-compliant parser into an intermediate Markdown DOM, which is rendered through per-flavor writers. The result is more correct, faster, leaner, and extensible - while keeping the public API source-compatible with v5.

Engine

  • New AngleSharp HTML5 parser replaces HtmlAgilityPack, so malformed and real-world HTML is parsed the way browsers parse it. The HtmlAgilityPack dependency is removed.
  • Markdown DOM pipeline - HTML is read into a structured, mutable document model (MarkdownDocument) and then rendered, cleanly separating parsing from output.
  • Flavor-agnostic readers, flavor-aware writers - readers always build the richest applicable node; each writer decides how to render or degrade it for its target flavor.

Output flavors

Seven output flavors, selected via the single canonical Flavor enum (MarkdownFlavor):

  • Default - clean, portable Markdown.
  • GitHub - dedicated CommonMark-based GitHub writer; round-trip-faithful and preserves raw HTML.
  • CommonMark - strict CommonMark output.
  • Slack - Slack mrkdwn (single-asterisk bold, • bullets, etc.).
  • Telegram - Telegram MarkdownV2 with its reserved-character escaping and fallbacks.
  • MultiMarkdown - MMD constructs (verified against canonical pandoc). (new in v6)
  • Pandoc - Pandoc Markdown with native spans, fenced divs, and strikeout. (new in v6)

Spec compliance

  • CommonMark round-trips all 651/651 spec examples (HTML → Markdown → HTML) against canonical cmark-gfm.
  • GitHub Flavored Markdown round-trips 672/672.
  • MultiMarkdown and Pandoc output verified against canonical pandoc.

Extensibility

  • Parse() / Render() expose the Markdown DOM directly, so you can traverse and transform the document (headings, lists, tables, links, footnotes, definition lists, math, etc.) before rendering.
  • Custom readers via IMdReader + [MarkdownReader], auto-discovered from additional assemblies passed to the Converter constructor.
  • Rich DOM node set including tables, definition lists, footnotes (definitions + references), fenced divs, line blocks, math, citations, bracketed spans, superscript/subscript, strikethrough, and raw HTML blocks/inlines.

HTML pre-filtering (new)

  • Html.ExcludeSelectors - drop elements by CSS selector before conversion.
  • Html.ElementFilters - drop elements via arbitrary predicates.

Configuration overhaul

  • Options are reorganized into logical groups: Images, Links, Tables, Tags, Html, Formatting, plus the top-level Flavor.
  • Flavor is the single canonical selector. SlackFlavored, TelegramMarkdownV2, and CommonMark are now obsolete aliases that read/write Flavor.
  • All former flat properties remain as [Obsolete] forwarders, so existing v5 code keeps compiling (with guidance warnings).
  • Notable options: base64 image handling (include / skip / save-to-file with custom filenames), lazy-load src fallback attributes, smart href handling, URI-scheme whitelist, header-column-span handling, header-less table strategy, comment removal, <pre>-as-HTML, line-start escaping, configurable line endings, bullet character, and default code-block language.

Framework support

  • Targets netstandard2.0, net8.0, net9.0, net10.0.
  • The netstandard2.0 target restores support for .NET Framework 4.6.1+, .NET Core 2.0+, Mono, and Unity (uses source-only Polyfill; no extra runtime dependency).

Performance
... (truncated)

5.5.0

What's Changed

Full Changelog: mysticmind/reversemarkdown-net@5.4.0...5.5.0

5.4.0

✨ New features

  • Opt-in data-src fallback for lazy-loaded images (#​427). Many sites park the real image URL in a data-* attribute while src holds a placeholder (typically a data: URI). Enable Config.LazyImageSrcFallback (default false) and, when src is empty or a data: placeholder, the converter resolves the URL from the first usable attribute in Config.LazyImageSourceAttributes (defaults: data-src, data-original, data-lazy-src, data-srcset, data-original-src; srcset-style values use their first URL). Default behavior is unchanged.
var converter = new Converter(new Config { LazyImageSrcFallback = true });
// <img src="data:image/png;base64,..." data-src="https://example.com/image.webp">
// → ![](https://example.com/image.webp)

🐛 Bug fixes

  • Square brackets inside code spans in link text are no longer escaped (#​426). [[UnmanagedCallersOnly]](…) previously became
    [\[UnmanagedCallersOnly\]](…). Brackets inside backtick code spans are now left untouched; brackets outside code spans are still escaped.
  • Missing space after inline code in list items with nested lists (#​428). The whitespace normalization before a nested list now trims only trailing whitespace and is scoped to the current item.

🔧 Maintenance

Full Changelog: mysticmind/reversemarkdown-net@5.3.0...5.4.0

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: ReverseMarkdown
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants