In a discussion about the Unformatted Code Detector on Discourse, users debate whether the feature can be disabled per user. another_username expresses discomfort with content detection and asks if users can disable the warning; Firepup650 clarifies that disabling works per-device, not per-user, referencing a known limitation. another_username questions the accessibility of backticks (`) for code fences, suggesting simpler, universally available characters like double quotes or symbols. They propose letting users define their own delimiters, which Firepup650 deems impractical due to potential conflicts. Moin notes users can set links to open in new tabs via profile preferences, and Moin suggests avoiding the feature if undesirable. another_username reiterates the desire for user-level disablement and accessible delimiters like '', }, or ~. david reminds users that backticks are standard Markdown syntax per CommonMark, but alternatives like 4-space indentation or [code] BBCode are available. The thread highlights usability concerns around code formatting and user control over detection warnings.
Users posting unformatted code will see a warning message instructing them how to format it correctly.
Not a fan of content detection… Will users be able to disable this or is it going to be enforced?
The link to this topic should probably open in a new window by default so people can post to this thread after they get this warning whilst posting on another.
Not an issue. You would simply replace the ` with the user’s preferred character when editing and replace it again when saving, if I am explaining that well enough Sorry. The backtick would still be used in the back end, just translated for the user in the front-end.
Still, using a more accessible character would be a benefit to everyone.
Maybe a selection of either “`”, “‘’” (two single quotes) or just lines starting with a “}” or a “~” or similar.
We’re currently using “#” for tags, so why not something else equally accessible for lines, blocks or spans of preformatted text?