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

Pandoc: Resolve relative URLs in Markdown input #34

Open
larsgw opened this issue Jan 4, 2025 · 1 comment
Open

Pandoc: Resolve relative URLs in Markdown input #34

larsgw opened this issue Jan 4, 2025 · 1 comment

Comments

@larsgw
Copy link

larsgw commented Jan 4, 2025

Some Markdown URLs are relative, e.g. these image URLs of https://github.com/egonw/blog2/blob/new/_posts/2025-01-04-isaac-browser-extension.markdown?plain=1:

To use the extension, the user would take the following steps.
First, click the “Toevoegen” button, green-blue with white letters in the above
screenshot. This would give a page like this:

![](/assets/images/isaac2025_2.png)

These should be able to be resolved against the URL of the page. Ideally this is also done for normal <a> links, not just images.

This could be done with a Lua filter: jgm/pandoc#4894

@larsgw
Copy link
Author

larsgw commented Jan 4, 2025

(now, the images are not included in the generated PDF as a result)

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

No branches or pull requests

1 participant