Releases: ap0llo/markdown-generator
v3.0.106
New Features
Bug Fixes
Breaking Changes
Details
Add support for GitHub Flavored Markdown "Task list items"
Breaking Change: This change introduces a new base class for list items (MdListItemBase) and changes both MdBulletList and MdOrderedList to use the base type instead of 'MdListItem'. This is a binary breaking change and requires recompilation of code consuming the library.
Add support for GitHub Flavored Markdown's task list items.
Task lists can be created by adding instances of MdTaskListItem instead of instances of MdListItem to either MdBulletList or MdOrderedLists.
Note that task lists might not be supported by all Markdown implementations.
Fix serialization of blank lines in code blocks
Blank lines in the content of MdCodeBlock block were being omitted when saving Markdown.
- See Also: ap0llo/mddocs#245
- Pull Request: #201
- Commit:
2b9ffed
v2.5.34
New Features
- Add option to include anchor tags in the output
- Allow MdHeading.Anchor to be set
- Add public helper methods for generating Heading ids
- Add methods to copy MdSerializationOptions instances
- Add MdHeadingAnchorStyle.Auto option
Bug Fixes
Details
Add option to include anchor tags in the output
Add MdSerializationOptions.HeadingAnchorStyle setting. If set to MdHeadingAnchorStyle.Tag, anchor tags for all headings will be included in the output.
By default no anchor tags are emitted (keeping current behavior)
- Closes: #16
- Pull-Request: ap0llo/markdown-generator#18
- Commit:
8c3c80a
Allow MdHeading.Anchor to be set
Make MdHeading.Anchor property settable. By default, property is initialized with auto-generated value (thus keeping previous behavior). In combination with the option to include anchor tags in the output, this allows customizing the names of anchors for linking within a page.
If MdHeading.Anchor is set to a null or whitespace value, no anchor tag is emittted, even if MdHeadingAnchorStyle is set to 'Tag'
- Closes: #17
- Pull-Request: ap0llo/markdown-generator#19
- Commit:
c794d1e
Add public helper methods for generating Heading ids
Add HtmlUtilities.ToUrlSlug() method that exposes the logic to that is used to determine auto-generated ids/anchor for headings
- Commit:
01647f8
Add methods to copy MdSerializationOptions instances
Add Clone() method to MdSerializationOptions that creates a copy of an otpions instance.
Cloning default instances (which are read-only) removes the read-only flag and returns a instance which's properties can be modified.
In addition to Clone() add the With() method to that allows specifiying a update action (as Action<MdSerializationOptions>) to apply to the copy.
- Commit:
08d654d
Add MdHeadingAnchorStyle.Auto option
Add option MdHeadingAnchorStyle.Auto that allows to inlcude anchor tags in the output only if an anchor different from the auto-generated anchor was set.
- Commit:
16b8a9b
Do not escape '/' when using the 'MkDocs' preset
- Commit:
939ba14
v2.4.30
Automatic release by Azure DevOps. Package available on NuGet.org
Changes:
v2.3.12
v2.3.11
Package available on NuGet.org
Changes:
v2.2.16
Package available on NuGet.org
Changes:
v2.1.81
Stable release of version 2.1
This release contains no changes compared to last 2.1 build.
For list a list of changes, see v2.1.80-rc
v2.1.80-rc
- Resolve constructor ambiguities
- Add "MdAdmonition" block type
- Add IReadOnlyCollection implementation and Insert() to MdCompositeSpan
- Add IReadOnlyList implementation and Insert() to MdTableRow
- Add IReadOnlyCollection implementation to MdTable
- Implement IReadOnlyCollection and add Insert() to MdContainerBlock and MdList
- Add MdTable.Insert()
- Add MdDocumentSet
- Add convenience constructors to MdEmphasisSpan and MdStrongEmphasisSpan to allow passing in multiple spans.
- Add SyntaxVisualizer public
- Fix more construtor ambiguities in container blocks
- Add DeepEquals() method to all block and span classes
- Add MdHeading.Anchor property to make linking to sections of a document easier
- Add MdEmptyBlock
- Fix typos in comments and inline documentation
- Add MdParagraph.Add() method
v2.0.78
- Breaking change: Text content of blocks is now represented as spans. By default, string content will now be escaped when saving a document (see for Span Types details).
- Add "serialization options" that allow customizing the output for markdown constructs for which the CommonMark spec defines multiple possible syntaxes.
- Breaking change: Simplified namespace structure: All public types are now part of the root namespace
Grynwald.MarkdownGenerator
. - Documentation was updated to be more detailed and provide more examples.
This release is available on NuGet.org