Skip to main content
added 495 characters in body
Source Link
rob006
  • 22.1k
  • 11
  • 11

Indent code by 4 spaces to format as a code block.

Add a > to the beginning of an error message to format as blockquotes or indent by 4 spaces to format as a code block, depending on what seems appropriate.

This approach is far from perfect. The problem with using code blocks for error messages is that they're not wrapped. So if you have a long sentence in error message, it all goes to one line with horizontal scroll. This is pretty annoying, to be honest. Sometimes it is actually worse than unformatted message dump.

On the other hand, using blockquote will most likely damage quoted content, especially if you use the Blockquote button in the editor. It will eat new lines, does not keep formatting from source and it will interpret as markdown things that should not be touched (just try post MySQL error message, where ` is used for quoting column names).

If we want to improve something we should start with the editor. Currently, there is no convenient way to paste error messages, - using the blockquote button pretty often damages quoted content, using code blocks for non-code does not work well, and working with indentation is a pain. Any improvement to the editor should give much better results than another help page, which most of the new users will not even notice. Not mention that in the current state such guide will be either overcomplicated or incomplete and ambiguous.

Indent code by 4 spaces to format as a code block.

Add a > to the beginning of an error message to format as blockquotes.

This approach is far from perfect. The problem with using code blocks for error messages is that they're not wrapped. So if you have a long sentence in error message, it all goes to one line with horizontal scroll. This is pretty annoying, to be honest. Sometimes it is actually worse than unformatted message dump.

If we want to improve something we should start with the editor. Currently, there is no convenient way to paste error messages, using the blockquote button pretty often damages quoted content, and working with indentation is a pain. Any improvement to the editor should give much better results than another help page, which most of the new users will not even notice.

Add a > to the beginning of an error message to format as blockquotes or indent by 4 spaces to format as a code block, depending on what seems appropriate.

This approach is far from perfect. The problem with using code blocks for error messages is that they're not wrapped. So if you have a long sentence in error message, it all goes to one line with horizontal scroll. This is pretty annoying, to be honest. Sometimes it is actually worse than unformatted message dump.

On the other hand, using blockquote will most likely damage quoted content, especially if you use the Blockquote button in the editor. It will eat new lines, does not keep formatting from source and it will interpret as markdown things that should not be touched (just try post MySQL error message, where ` is used for quoting column names).

If we want to improve something we should start with the editor. Currently, there is no convenient way to paste error messages - using the blockquote button pretty often damages quoted content, using code blocks for non-code does not work well, and working with indentation is a pain. Any improvement to the editor should give much better results than another help page, which most of the new users will not even notice. Not mention that in the current state such guide will be either overcomplicated or incomplete and ambiguous.

Source Link
rob006
  • 22.1k
  • 11
  • 11

Indent code by 4 spaces to format as a code block.

Add a > to the beginning of an error message to format as blockquotes.

This approach is far from perfect. The problem with using code blocks for error messages is that they're not wrapped. So if you have a long sentence in error message, it all goes to one line with horizontal scroll. This is pretty annoying, to be honest. Sometimes it is actually worse than unformatted message dump.

If we want to improve something we should start with the editor. Currently, there is no convenient way to paste error messages, using the blockquote button pretty often damages quoted content, and working with indentation is a pain. Any improvement to the editor should give much better results than another help page, which most of the new users will not even notice.