acekyd / made-in-nigeria

Here is a curation of awesome tools built by Nigerians that can be used by anybody and from anywhere in the world.
https://madeinnigeria.dev
1.01k stars 401 forks source link

Weird issue with the markdown preview tab #317

Open BolajiAyodeji opened 7 months ago

BolajiAyodeji commented 7 months ago

Issue Description

Not code related: the preview tab of the contributing.md file weirdly doesn't exist unlike README.MD making the "Make a Submission" link from the website lead to the raw markdown without any rendering as seen in the screenshot below. I tried reproducing on a new repository but it's not the same—all three tabs are displayed (Preview, Code, and Blame). Also, it's not because it's .md and not .MD (both ought to work).

My guess is that the files have not been updated for a long time (maybe update it?) or there's a setting you need to toggle in GitHub. But this is worth investigating to offer a better reading experience.

Steps to Reproduce

No response

Expected Behavior

contributing.md and moderators.md files should include the "Preview" tab by default.

Current Behavior

No response

Screenshots (optional)

Screenshot 2024-03-13 at 17 21 25 Screenshot 2024-03-13 at 17 38 54

Operating System [e.g., Windows 10]

No response

Browser [e.g., Chrome, Firefox]

No response

Environment (locally, production, selfhosted)

No response

Please check the boxes that apply to this issue report.

kaf-lamed-beyt commented 7 months ago

This could be as a result of the way the filename is spelled. I'll try making both of them uppercase and see if the issue still persists.

kaf-lamed-beyt commented 7 months ago

This could be as a result of the way the filename is spelled. I'll try making both of them uppercase and see if the issue still persists.

Case sensitivity does not affect the rendering engine. It could be a syntax issue. I'm taking a careful look at both files again.

BolajiAyodeji commented 7 months ago

Yes, markdown files are not case-sensitive on GitHub for both the name and file extension. I did try to reproduce to be sure of this and both worked in another repository. Something else seems to be at play here. Curious to see what you find out, thank you.