API Changes - AMDL/CommonMark.NET GitHub Wiki

This page details the API changes relative to CommonMark.NET 0.10.0. As the API has not yet been finalized, this page should be considered work in progress.

Block

  • FencedCodeData renamed to FencedCode
  • HeaderLevel superseded by Heading.Level
  • ListData superseded by UnorderedList and OrderedList
  • ReferenceMap superseded by Document.ReferenceMap
  • Custom added

BlockTag

  • AtxHeader renamed to AtxHeading
  • HorizontalRuler renamed to ThematicBreak
  • List superseded by UnorderedList and OrderedList
  • SETextHeader renamed to SetextHeading
  • Custom added

Notes:

  1. is no longer recognized as an unordered list marker. This behavior requires Fancy Lists registered with FancyListsFeatures.Discs enabled.

CommonMarkSettings

Notes:

  1. CommonMarkAdditionalFeatures.Strikethrough is superseded by Strikeout.

HtmlFormatter

  • Removed

Inline

  • Custom added

InlineTag

  • Emphasis rename TBD
  • Strong rename TBD
  • Custom added

OutputFormat

  • CustomDelegate obsoleted
  • SyntaxTree renamed to TextSyntaxTree