Skip to content

Link lines longer than 100 chars are malformed in /// #1369

Description

@shane-exygy

The first line illustrates a 100 character long line

The following are a markdown link line of 100 characters, and the next the same of 101 characters.

1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
/// [Design-doc](8901234567890123456789012345678901234567890123456789012345678901234567890123456789)
/// [Design-doc](89012345678901234567890123456789012345678901234567890123456789012345678901234567890)

The first is maintained through the formatter

The second is malformed by moving the link to a new line prefixed by //

/// [Design-doc](8901234567890123456789012345678901234567890123456789012345678901234567890123456789)
///
// [Design-doc](89012345678901234567890123456789012345678901234567890123456789012345678901234567890)

It'll do this regaurdless of /// comments before or after, so it can result in a // line in the middle of /// ones

Activity

  1. shane-exygy commented on Apr 8, 2026

    @shane-exygy
    Author

    The markdown is actually not the issue I see now. The bare link being longer than 100 chars causes the issue

  2. changed the title [-]Markdown link lines longer than 100 chars are malformed[/-] [+]Link lines longer than 100 chars are malformed in ///[/+] on Apr 8, 2026
  3. shane-exygy commented on Apr 13, 2026

    @shane-exygy
    Author

    Long /// comments are also reflowed with a // prefix and not a /// one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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