Skip to content

README symlink shown as plain text despite vim modeline #1158

@jwilk

Description

@jwilk

I have the following setup in many of my repositories:

  1. doc/README is a document with a vim:ft=rst modeline. As expected, this is rendered by GitHub as reStructuredText.

  2. Top-level README is a symlink to doc/README. This used to rendered by GitHub as reStructuredText until recently. But now it is shown as plain text. :-(

Examples:

I guess it might be an unintended consequence of fixing #1133?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions