LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LQ Suggestions & Feedback (https://www.linuxquestions.org/questions/lq-suggestions-and-feedback-7/)
-   -   Code Tags (https://www.linuxquestions.org/questions/lq-suggestions-and-feedback-7/code-tags-4175483933/)

custangro 11-08-2013 03:57 PM

Code Tags
 
I've seen the number of posts without code tags increase dramatically lately.

I know it's petty of me...but I have resorted to not answering questions on posts (that I know the answer to) that don't have code tags.

I find it more annoying than the RTFM crowd

/rant

Firerat 11-08-2013 04:26 PM

The question is "how do we fix this?"

maybe append something to :
Quote:

Message:
You should include as much detail as possible in your message, including exact error messages (where applicable) and what you have done so far. The more detail you include the more we can help. You should also use the board's search feature to ensure that the question has not already been asked.
something along the lines of:

Quote:

To improve the readability of your post wrap commands or command output ( error messages and the like ) with [code][/code] 'tags'
example:
[code]
SomeCommand arg1 arg2 /path/to/somefile
bash: SomeCommand: command not found
[/code]

This preserves 'white space' and forces the use of a fixed width font
for convenience highlight the command/output and click the # button

jeremy 11-14-2013 11:11 AM

Quote:

Originally Posted by Firerat (Post 5061030)
The question is "how do we fix this?"

That is a good question. Unfortunately I don't think appending to that message will help the issue (nor is it a scalable solution). I'd suggest 1) educating the member who didn't use the code tag about it, along with suggesting that they edit their post to include them. 2) If that doesn't work, report the post so the code tags can be added by a mod.

Thanks for the feedback.

--jeremy

ntubski 11-14-2013 01:04 PM

I would suggest:
  1. Change the icon to something that is more obviously code, have the actual word "code" on the button perhaps.
  2. Add the code button to quick reply.

jeremy 11-14-2013 01:19 PM

Quote:

Originally Posted by ntubski (Post 5064435)
I would suggest:
  1. Change the icon to something that is more obviously code, have the actual word "code" on the button perhaps.

Putting aside the aesthetics of putting a word in a button that small, as that exact button is used in every CKEditor instance around the web I think a change would actually be a net loss.

--jeremy

ntubski 11-16-2013 02:55 PM

Quote:

Originally Posted by jeremy (Post 5064440)
that exact button is used in every CKEditor instance around the web

Huh, I didn't realize that. It might interesting to know how many other people are aware of this.

Quote:

the aesthetics of putting a word in a button that small
Couldn't the button be made bigger? It's only one letter more than the php button.


All times are GMT -5. The time now is 05:37 AM.