Titles should probably not be parsed as markdown

See attached image, the post is clearly referencing a topic, not intended to be a heading. I've similarly seen blog posts that start with "#".

At the very least, headings should be excluded from title markup.

31 points · 8 comments · view on lemmy.world

8 Comments

lemmyng@lemmy.ca · 12 pts · 1y (3 replies)

There's a toggle for this: Settings -> Post feed -> Post markdown in headers

idunnololz@lemmy.world · 11 pts · 1y (1 reply)

I'm also considering just escaping the first character if it's a #

Edit: It's going in the next release. I hate doing something so one off but this issue has come up a few times before and I think this change is worth it. Starting in the next release if the title starts with a # it will be force escaped. This will break posts where the author intends to format the title in large letters but I think this is such an edge case (and also annoying) that the drawback is ok.

LarsIsCool@lemmy.world · 10 pts · 1y

This will break posts where the author intends to format the title in large letters

Even then I think this might be a good solution. This prevents users abusing this to get attention. I don't see a legitimate reason the receiver would like some titles to be larger than others

p_consti@lemmy.world · 2 pts · 1y

Thanks, completely missed this option

Bubs@lemm.ee · 3 pts · 1y

I've noticed these too and they can be quite annoying. Never realized it was from hashtags, but it makes so much sense now lol.

asudox@lemmy.asudox.dev · 2 pts · 1y (2 replies)

For now, you can disable markdown in post titles via the "Posts feed" settings page.

p_consti@lemmy.world · 3 pts · 1y (1 reply)

See the other comments below, a new version has been released several days ago that fixes this properly

asudox@lemmy.asudox.dev · 1 pts · 1y

Ah ok