Skip to content

Support --embed-resources in Markdown output formats #10801

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

Open
brunnerh opened this issue Apr 24, 2025 · 0 comments
Open

Support --embed-resources in Markdown output formats #10801

brunnerh opened this issue Apr 24, 2025 · 0 comments

Comments

@brunnerh
Copy link

Describe your proposed improvement and the problem it solves.

Images (and potentially other resouces) could also be embedded via data: URLs.

The URLs can be a bit disruptive in the middle of the document, so for images they could also be moved to the end by using named references, e.g.

Implement as seen in this mockup:
![application screenshot][img1]

...

[img1]: data:image/png;base64,...

Describe alternatives you've considered.

Well, one alternative that I use right now is running pandoc twice:
Source => HTML with --embed-resources => Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant