Skip to content

Hyperlinks open in a new tab #383

@arryllopez

Description

@arryllopez

Some readers find that external links (e.g., to example.com) open in the same browser tab, which interrupts their reading experience of the book.

Currently, on GitHub, the Markdown does not support forcing links to open in a new tab. There is a known limitation in GitHub’s Markdown rendering where target="_blank" isn’t preserved. However, since this book is built with mdBook, we could consider integrating a preprocessor like mdbook-external-links to automatically add target="_blank" for external URLs.

Would you be open to adding this kind of support? I’m happy to prepare a PR if this fits the project direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions