-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
To support GitHub flavoured markdown (along with #1), it would be nice to allow for relative links within the document. As a temporary solution, currently I'm changing them in the md file to web URLs using regex, and then passing it to mdpdf. Using sed:
#!/bin/bash
sed -i -e -r "s/(#[^ ][^\)]*)\)/https:\/\/example.org\/dir\1\)/g" file.md &
mdpdf -o file.pdf file.mdwhich finds bits such as #example-relative-link) and replaces them with https://example.org/dir#example-relative-link)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels