Reddit-Enhancement-Suite icon indicating copy to clipboard operation
Reddit-Enhancement-Suite copied to clipboard

Markdown does not render properly

Open frakman1 opened this issue 4 years ago • 8 comments

  • My browser: Chrome 81 on Windows 10
  • My RES version: Reddit Enhancement Suite v5.18.14
  • Am I in reddit beta (yes/no): no

What's the problem?

Someone left me a comment with syntax highlighted markdown. To them and anyone else on the internet, it looks like this:

image

However, for me, it looks like this.

image

I've tried toggling all my extensions off/on in chrome://extensions/ but no change after refreshing the page. It only works when I open the page in incognito.

Are there any related posts in https://github.com/honestbleeps/Reddit-Enhancement-Suite/issues or /r/RESissues?

Not to my knowledge

What other browser extensions are installed?

image image image

frakman1 avatar May 04 '20 15:05 frakman1

Can you link the post please?

benmcgarry avatar May 04 '20 15:05 benmcgarry

This looks to be a platform issue rather than RES. With RES disabled it shows the same as we are not doing any formatting. It looks like the comment was made on the redesign and hasn't formatted back to old.

@andytuba Does backwards compat for FPE > old reddit exist?

benmcgarry avatar May 04 '20 15:05 benmcgarry

As Ben alluded to, triple backtick code blocks are only rendered correctly on redesign 😥

jewel-andraia avatar May 04 '20 15:05 jewel-andraia

@BenMcGarry Sure. Here is the offending link

If it's a platform issue, then why does it work when I go into incognito mode? What redesign are you referencing? Is that a RES thing or a Reddit thing?

frakman1 avatar May 05 '20 00:05 frakman1

@frakman1 "old reddit": https://old.reddit.com/r/gitlab/comments/dvdm3n/has_anyone_successfully_used_code_climate_in/fpf97au/ Screen Shot 2020-05-04 at 17 54 23

"redesign" (what incognito defaults to): https://new.reddit.com/r/gitlab/comments/dvdm3n/has_anyone_successfully_used_code_climate_in/fpf97au/

Screen Shot 2020-05-04 at 17 54 25

These are two different website frontends, which render differently.

jewel-andraia avatar May 05 '20 00:05 jewel-andraia

Ahh I "see" now. Thank you for laying it out so clearly. I did express a preference for using the old.reddit via the preferences option. I hate the new redesign with all its wasted space.

image

So does this mean that markdown will never render properly with old reddit, or is this something that RES can possibly, one-day handle?

frakman1 avatar May 05 '20 03:05 frakman1

Ideally Reddit Inc would add backtick support to old reddit or use four-space codeblocks instead, although I'm not optimistic about seeing that any time soon. RES could potentially bridge this gap, one day.

jewel-andraia avatar May 06 '20 23:05 jewel-andraia

Duplicate of https://github.com/honestbleeps/Reddit-Enhancement-Suite/issues/5223. (Clearer title.)

YodaEmbedding avatar Jul 22 '21 23:07 YodaEmbedding