Skip to content

NEW: Ignore line length when line only contains a long URL #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

carterbox
Copy link

@carterbox carterbox commented May 30, 2025

Ignores lines whose contents are some whitespace, <, any text, >`_, then an optional punctuation. This allows for long lines to be a URL without breaking them, so that they remain clickable.

For example:

pharetra, sit amet feugiat lorem consequat. `A Very Long Inline Link Example
<https://www.example.com/this-link-is-unusually-long-and-contains-a-lot-of-characters-as-well-as-additional-query-params?param1=value1&param2=value2&param3=value3&more_values=true>`_.
More text here...

xref: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#external-links

Ignores lines whose contents are some whitespace, <, any text,
>`_, then an optional punctuation. This allows for long lines to
be a URL without breaking then, so that they remain clickable.
Copy link
Collaborator

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

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