Skip to content

Web links for links-preprocessorΒ #1457

Open
@Urhengulas

Description

@Urhengulas

Hi πŸ‘‹πŸΎ ,
I'd like to be able to include a markdown file from another repository into my mdbook. This feature exists for relative links, but no web links yet. I imagine similar to this:

# relative link
{{#include file.rs}}

# web link
{{#include https://raw.githubusercontent.com/user/repo/main/MARKDOWN.md}}

Since this will add some dependencies to fetch the resource, it probably should be hidden behind some config option in book.toml and not be enabled by default.

I am happy to do the changes :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-link-preprocessorArea: Link preprocessor, #{{include}}, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions