Skip to content

Print background when creating PDF #9740

@EMaderbacher

Description

@EMaderbacher

Is it possible, that the PDF creating is made with option PrintBackground enabled?
This would result for example in more beautiful Alerts in created PDF file:

> [!NOTE]
> Information the user should notice even if skimming

Source: https://github.com/dotnet/docfx/blob/a58fec70cdaa98d6348d1cb3e0185f19a5ca6c48/src/Docfx.App/PdfBuilder.cs#L167C17-L167C18
Suggested change:

return await page.PdfAsync( new PagePdfOptions()
{
	PrintBackground = true
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedYou could start with this if you want to contribute to the projectpdfProduce PDF as the output format

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions