[CleanRepo] Orphaned images being mistakenly removed
@gewarren is already working on this.
Since Nov 27, 2024.
Assessment
This issue has not been assessed yet.
Description
While using cleanrepo to remove orphaned images on xamarin-docs-pr I discovered the following markdown formats weren't being handled by the tool, and so images were being removed that shouldn't have been:

A high resolution version of the class diagram can be downloaded from [here](class-hierarchy-images/class-diagram-high-resolution.png).
I particularly like the multiple cases of spreading an image link over three lines! Not sure if it's worth the tool handling this. I just fixed the markdown instead. But there were quite a few examples of the second case where an image is actually a download link. In those cases I dropped the images back in place after they were removed. There was also a third case due to writer error on lightbox images (where the images actually rendered fine on learn, despite the markdown being incorrect) - I fixed those.
- Dominant language
- C#
- Stars
- 27
- Forks
- 43
- Avg merge
- 12h 33m
- Merged PRs (30d)
- 26
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/docs-tools
-
dotnet/docs-tools#748 · 1 assignee ·
-
:pushpin: seQUESTered
dotnet/docs-tools#743 · 1 assignee ·
-
:pushpin: seQUESTered
dotnet/docs-tools#611 · 4 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
dotnet/docs-tools#572 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dotnet/docs-tools#571 ·
All issues in dotnet/docs-tools
Similar issues
-
[Feat] 조합 영역 구분선 개선 Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100