Skip to content

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

Open
RensDimmendaal wants to merge 1 commit into
mainfrom
edit-links
Open

Add inline link URL rewriting to rewrite and md2gfm#64
RensDimmendaal wants to merge 1 commit into
mainfrom
edit-links

Conversation

@RensDimmendaal

Copy link
Copy Markdown

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
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.

1 participant