New Discourse auto-formatting: Anyone else find this annoying?

The new Discourse UI here to compose a reply or post is pretty annoying, especially when using inline code via backticks.

Try typing:

`module->namespace`

You get: module→namespace. Some auto-ligature thing kicks in. This code example won’t work if people use it.

Also, try typing:

"file.rkt"

You get: ”file.rkt” with fancy quotes. This code example won’t work if people try it.


I kind of miss the older, “less fancy”, thing where it was less automagical, and you had a preview pane.

Today whenever I type “Discourse” I keep getting “Discourage”… but OK that one is from my unhappy brain, not from their software. :smile:

  • Does anyone else feel the same way?
  • If a majority do, is there a way to turn off these options in our Discourse instance?

The left side of the formatting bar should have a toggle to go back to the previous Markdown with preview pane editing mode:

image

Do these issues still occur even when in Markdown editing mode?

2 Likes

To answer your questions...

I also prefer the previous Markdown editing mode. As mentioned above, it should at least still be accessible to everyone via the toggle. They've just made the new rich text editor mode the default.

It should be possible for our Discourse admins to flip the default back to Markdown mode if desired. More info available here: Choosing the default composer mode for your community - Announcements - Discourse Meta

1 Like

Oh! I see it now. Thanks!

1 Like

On my previous reply, I moved the slider toggle to Markdown. That was sticky, and persists at least for now into this other reply. Hooray!

Maybe my preference is being held only in a local cookie, and eventually I'll need to re-assert it. But that's OK. This is good enough, for me.

Although this isn't a super strong opinion: There might be some value to the admins setting the old way as the default.

I've noticed that especially users new to this community often post code without using code blocks.

Before, that was merely harder to read. But now, if that code is full of automatic pretty quotes and ligatures, it might also be tedious to fix up when copy-pasting into DrRacket or whatever.

(Sure there probably exists for Emacs, or I could write myself, some un-prettify command. But not everyone uses Emacs. Shocking, I know, right? :wink: )

3 Likes

It ... looks to me like someone already fixed this? Or am I unusual in getting the markdown by default?

John

I’ve changed the default to the markdown editor.

You can toggle your preference with the M/A button at far left of the editing toolbar. (Works on mobile too)

[One of my favourite features is it converts html to markdown (via standard copy/paste) and I am pleased it still works in both modes. ]


toggle editor:

IMG_0823

Test paste from https://racket-lang.org :

In Racket, programmers define their own loops with powerful macros. Indeed, these macros are so powerful that programmers make entire domain-specific languages as libraries. No tools, no Makefiles required.

Racket is the first language to support higher-order software contracts and safe gradual typing. Programmers can easily deploy these tools to harden their software.

3 Likes

Yeah that was me. Sorry busy weekend

1 Like