Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird issue with the markdown preview tab #317

Open
5 of 6 tasks
BolajiAyodeji opened this issue Mar 13, 2024 · 3 comments
Open
5 of 6 tasks

Weird issue with the markdown preview tab #317

BolajiAyodeji opened this issue Mar 13, 2024 · 3 comments
Assignees
Labels

Comments

@BolajiAyodeji
Copy link
Contributor

BolajiAyodeji commented Mar 13, 2024

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.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
@BolajiAyodeji BolajiAyodeji changed the title Weird issue with markdown preview tab Weird issue with the markdown preview tab Mar 13, 2024
@kaf-lamed-beyt
Copy link
Collaborator

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
Copy link
Collaborator

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.

@kaf-lamed-beyt kaf-lamed-beyt self-assigned this Mar 13, 2024
@BolajiAyodeji
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants