Problem
When exporting slide decks to PDF or PPTX on a corporate network, the internal Chromium/Edge browser used by @marp-team/marp-cli (via Puppeteer) must route traffic through a corporate proxy. There is currently no way to configure Chromium launch arguments in the extension settings.
Reproduction
- Work behind a corporate HTTP/HTTPS proxy (e.g.
http://proxy.corp.example.com:8080)
- Create a Marp Markdown file that embeds images or web fonts loaded from external URLs
- Run Marp: Export Slide Deck → PDF
- Export either hangs (navigation timeout) or produces a PDF with missing resources
Expected behaviour
A setting such as markdown.marp.browserExtraArgs that accepts a list of additional Chromium/Firefox launch arguments, forwarded to marp-cli. Example configuration:
"markdown.marp.browserExtraArgs": [
"--proxy-server=http://proxy.corp.example.com:8080",
"--ignore-certificate-errors-spki-list=<fingerprint>"
]
Current workaround
None within the extension. Workaround is to run marp-cli from the terminal directly using PUPPETEER_EXTRA_LAUNCH_ARGS. This defeats the purpose of the VS Code extension.
Why this matters
Corporate environments are extremely common. marp-cli itself supports PUPPETEER_EXTRA_LAUNCH_ARGS and the underlying Puppeteer integration accepts arbitrary launch args. The VS Code extension is the missing link between the user's network configuration and the export pipeline.
Environment
- OS: Windows 11 Enterprise (also reproducible on Linux behind corporate proxy)
- VS Code: 1.100+
- Marp for VS Code: 3.5.1
- Network: Corporate HTTP/HTTPS proxy with TLS inspection (self-signed CA cert)
Related
Problem
When exporting slide decks to PDF or PPTX on a corporate network, the internal Chromium/Edge browser used by
@marp-team/marp-cli(via Puppeteer) must route traffic through a corporate proxy. There is currently no way to configure Chromium launch arguments in the extension settings.Reproduction
http://proxy.corp.example.com:8080)Expected behaviour
A setting such as
markdown.marp.browserExtraArgsthat accepts a list of additional Chromium/Firefox launch arguments, forwarded tomarp-cli. Example configuration:Current workaround
None within the extension. Workaround is to run
marp-clifrom the terminal directly usingPUPPETEER_EXTRA_LAUNCH_ARGS. This defeats the purpose of the VS Code extension.Why this matters
Corporate environments are extremely common.
marp-cliitself supportsPUPPETEER_EXTRA_LAUNCH_ARGSand the underlying Puppeteer integration accepts arbitrary launch args. The VS Code extension is the missing link between the user's network configuration and the export pipeline.Environment
Related
markdown.marp.browserPathsetting proves the extension already exposes browser configuration; extending it to launch args is a natural follow-on.