2024-01-23 11:33 AM
Problem:
There are a significant amount of threads where code is pasted as plaintext a thread. As an example, this one, where the user clearly searched for a way to format it as code but couldn't find how:
The underlying issue is that formatting a code block is hidden behind the "..." in the editor.
This is despite having more than enough room to accommodate such an important feature.
Suggesting:
Consider promoting the code formatting to the main toolbar and relegating the following near-useless features to the "..." abyss:
Solved! Go to Solution.
2024-02-07 02:04 AM
Thanks @TDK,
The "insert/edit code sample" is now visible in the top toolbar. This should assist users in finding the functionality better.
@Andrew Neil Thanks for suggesting the addition of the code template to "tips on posting". Having more visibility on the functionalities of the text editor is on the to-do list.
Best regards,
Laurids
2024-02-07 02:42 AM
@Laurids_PETERSEN wrote:Thanks @TDK,
The "insert/edit code sample" is now visible in the top toolbar.
So it is! :thumbs_up: :beaming_face_with_smiling_eyes:
Use this button to properly post source code:
2024-02-07 04:46 AM
Thank you! Should be easier to find now.
2024-03-08 03:04 AM
@Andrew Neil wrote:Although, to be fair, on forums where it's in plain view it still doesn't get used.
And sadly (though not surprisingly), it continues to not get used:
https://community.st.com/t5/feedback-forum/detect-mis-posted-source-code/td-p/648157
@Andrew Neil wrote:It's now quite common on forums that new users have to take a "tour" before being allowed to post - to make sure they know things like this.
How about it?
2024-03-08 03:09 AM
By the way I find "spoiler tags" useful to show long output, or to avoid an overloaded post
2024-03-08 03:11 AM
Pardon?
2024-03-08 04:56 AM
I was answering to that
- Spoiler tags. (Why is this a thing at all?)
2024-05-10 03:53 AM
@Lina_DABASINSKAITE how about adding a note on the 'code' button into this:
2024-05-14 07:40 AM
Thanks @Andrew Neil , great suggestion! I added it ;)