Skip to content

Releases: christiaanderidder/QuestPDF.Markdown

1.3.0

08 Dec 09:43
8308b8b
Compare
Choose a tag to compare
  • Upgrade QuestPDF to version 2023.12.0

1.2.0

19 Nov 15:50
acfcac2
Compare
Choose a tag to compare

This release introduces a breaking change in how images are downloaded and rendered.

Image pixel size is no longer converted directly to points, instead a 0.5 scaling factor is applied by default. This means that an image of 200x200 pixels will be rendered at 100x100 points.

A new option has been added to control this behavior:

  • MarkdownRendererOptions.ImageScalingFactor

To keep the behavior of previous versions of QuestPDF.Markdown, set this option to 1.0.

1.1.0

15 Nov 10:45
6beb636
Compare
Choose a tag to compare

This release introduces a breaking change in how images are downloaded and rendered.

The following options have been removed:

  • MarkdownRendererOptions.ImageDownloaderEnabled
  • MarkdownRendererOptions.HttpClient
  • MarkdownRendererOptions.ImageDownloaderMaxParallelism

If you use image downloading and rendering, use the new ParsedMarkdownDocument.DownloadImages instead:

var text = @"![title](https://placehold.co/100x50.jpg)";

var markdown = ParsedMarkdownDocument.FromText(text);
await markdown.DownloadImages(httpClient: myHttpClient /* Optionally provide your own HttpClient */);

var document = Document.Create(container =>
{
    container.Page(page =>
    {
        page.Margin(20);
        page.Content().Markdown(markdown, options);
    });
});

1.0.1

14 Nov 18:58
66e8c60
Compare
Choose a tag to compare

The following features were added in this release

  • Images
  • Styling options

1.0.0

13 Nov 10:19
aaa0d86
Compare
Choose a tag to compare

The following markdown features are supported in this release

  • Headings
  • Block quotes
  • Code blocks
  • Lists (ordered, unordered)
  • Emphasis (bold, italic)
  • Task lists
  • Extra emphasis (subscript, superscript, strike-through, marked, inserted)
  • Tables

1.0.0-alpha.6

12 Nov 19:51
88607ff
Compare
Choose a tag to compare
1.0.0-alpha.6 Pre-release
Pre-release
Merge pull request #5 from christiaanderidder/extended-formatting

Add extended formatting options

1.0.0-alpha.5

12 Nov 15:07
f050035
Compare
Choose a tag to compare
1.0.0-alpha.5 Pre-release
Pre-release
Update release.yml