Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow enabling LayoutNG while PDF conversion via CHROME_LAYOUTNG_PRINTING env #469

Merged
merged 4 commits into from
Aug 11, 2022

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Aug 11, 2022

By defining CHROME_LAYOUTNG_PRINTING env, Marp CLI will enable blink features LayoutNGPrinting and LayoutNGTableFragmentation to allow using LayoutNG while printing for PDF conversion.
https://bugs.chromium.org/p/chromium/issues/detail?id=1121942

CHROME_LAYOUTNG_PRINTING=1 marp ./markdown.md --pdf

LayoutNGTableFragmentation is useful to deal with weird rendering of cropped table. (Reported in marp-team/marp-vscode#330)

It's still in development so we provide as opt-in feature through environment value.

@yhatt yhatt merged commit 97e14d8 into main Aug 11, 2022
@yhatt yhatt deleted the layoutng-printing branch August 11, 2022 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant