github / github/markup

[Bug] Media Type-specific rendering changes cannot be previewed, when a file is renamed, but otherwise unmodified.

Open
#2,037 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

If a repository contains `ReadMe.txt`, which contains CommonMark markup, when renamed to `ReadMe.MD`, the modifier cannot preview the file without modifying it. Instead, it states:

> The file was renamed but not changed.

Luckily, adding whitespace is a trivial workaround. However, it should not be required. This may have made the issues, that [`/search?q=%22The+file+was+renamed+but+not+changed%22&type=issues`](https://github.com/search?q=%22The+file+was+renamed+but+not+changed%22&type=issues) returns, easier to diagnose.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.