H1s do not appear

I’ve been facing this for a while now, expecting other people to report it (lol). But it still hasn’t been fixed.

If you add an H1 (#) to your md file, it won’t show.


Repl link is https://replit.com/@OmegaOrbitals/Markdown-H1-Bug

1 Like

I think this is because Replit assumes an h1 is a title (like an HTML <title> element) and does not show it in the code for some reason.

2 Likes

Works for me perfectly

1 Like

My h1s and # always appears in my Markdown.

1 Like

I went to https://replit.com/@OmegaOrbitals/Markdown-H1-Bug#README.md and this is what I saw:

This is what I saw when I forked it:


Maybe you should try forking?

2 Likes

No, this happens in all my Repls.

2 Likes

Maybe it’s an issue with themes?

1 Like

What theme are you using?
Also maybe you should refresh.

1 Like

I know this is an extremely bad practice for markdown, but does using an actual <h1> work?

Also, just made a new blank Repl, and it seems to work fine for me.

1 Like

If it’s bad practice, then why does it even exist?

1 Like

I’m not really sure, pretty new to Markdown’s syntax, but I believe I read on the docs there were some compatibility issues or something, and it does encourage the use of some HTML tags like <br>.

3 Likes

Also, by “for a while” I mean 5 months.

I am using VSC dark by MiloCat. I will try changing it.

Try using the most popular theme in Replit, VSC by GT101.

Nah. This one has italics & stuff. https://replit.com/theme/@MiloCat/vsc-dark

1 Like

Also, I changed the theme to default dark. Still having the issue.

Do you think this could be browser-based? I’m currently using Chrome 112.

Maybe. @OmegaOrbitals what is your Browser/OS/Device?

1 Like

I’ve tried adding an H1 tag in a markdown file and it worked perfectly fine. Are any of y’all still experiencing this?

Screen Shot 2023-07-03 at 1.38.37 PM