Skip to content

Convert all the links in the generated print.html for linking inside the book into URL fragment formΒ #1736

@HollowMan6

Description

@HollowMan6

I'm requesting for a feature that convert all the links in the generated print.html that link to another html page inside the "book" into the URL fragment form, so that once a user click that link, they will be guided to the corresponding spot instead of another html page (This should be obvious as print.html includes all the generated book content, the current behavior is some kind of weird).

For one example of the mdBook Documentation (Notice URL change):

  • Current Behavior:
    image

image

  • Expected Behavior:
    image

image

For use case: #88 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PrintArea: The "printed" page

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions