Discourse unformatted code detector

Perhaps we can add this feature:

6 Likes

This looks great. What do the other mods/staff think? @staff @moderators

1 Like

I’m not against this if we have some benefict for the SITE but some Questions come to my mind:

  1. Is this REPO is valid only for formating programming Language or for something else???
  2. Can we use it for pre-formatted linux command or output Terminal???

I think we can get more information after enable it…

Regards.,

2 Likes

It looks like it looks for common code strings used in programming languages:

Someone did ask if it’ll detect logs:

2 Likes

I’ve noticed @hhlp fixing bad formatting, so the thread appears to be still relevant.
@mattdm, perhaps you can utilize this component?

I’m not opposed. @hhlp is actually the theme component expert here and can add it if it makes sense.

Feel free at do what I’ve been doing and add a poll about your improvement idea :slight_smile:

(Of course, that doesn’t guarantee that we’ll do something, but it sure helps in deciding!)

1 Like

I’m not against to improve the site, but for the moment this plug-ins is only available to detect programming languages, so the code is not well enough for the moment, There is not much we can do here, see my comment, on discourse META, but I will keep an eyes there:

Regards.,

1 Like