Often people just include screenshots to show their errors but today I tried to edit one of those posts, and the error message contained List<T>
. For the sake of simplicity let's say
Error: Should be List<T>
is the error message. When I try to write that using a block quote I get this:
Error: Should be List
So it filters out the tag. It is possible to show the tag by adding a space in the tag, but that doesn't look as nice:
Error: Should be List< T>
Is there any escape character I can use for adding markup tags to a block quote?
Edit1: Backticks formatting is ugly:
Error: Should be
List<T>
Edit2: Backslash doesn't work: (Error: Should be List\<T\>
)
Error: Should be List\
Edit3: Using code blocks for error message doesn't look right in my opinion. For example this random error I took from a question:
E/SysUtils: ApplicationContext is null in ApplicationStatus E/chromium: [ERROR:browser_gpu_channel_host_factory.cc(258)] Failed to init browser shader disk cache. E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
vs
E/SysUtils: ApplicationContext is null in ApplicationStatus E/chromium: [ERROR:browser_gpu_channel_host_factory.cc(258)] Failed to init browser shader disk cache. E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
(Looks worse on stack overflow though for long exceptions with stacktrace etc.)
<T>
. Error messages should generally be code blocks, not quotes.<code>
.<
and using code markup to markup code isn't ugly imho.