Skip to content

Add inline link URL rewriting to rewrite and md2gfm - #64

Merged
jph00 merged 1 commit into
mainfrom
edit-links
Sep 9, 2026
Merged

jph00 merged 1 commit into
mainfrom
edit-links

Conversation

@RensDimmendaal

Copy link
Copy Markdown
Contributor

This PR makes it possible to edit links via rewrite and adds a md2gfm link= arg for that purpose. This is useful for octavo/nbdev where source ipynb contain relative links of [see other nb](other_nb.ipynb) while the html and md versions should show other_nb.html and other_nb.md` respectively.

Im not great at rust yet, and this was created with AI, so please take a careful look. I did too, but Im worried I might have missed things due to lack of knowledge.

@RensDimmendaal
RensDimmendaal requested a review from jph00 September 8, 2026 08:59
@jph00
jph00 merged commit 1ba4252 into main Sep 9, 2026
5 of 6 checks passed
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.

2 participants