-1

When creating Documentation, how are special characters like | treated in SO documentation, especially within tables? This does not get rendered properly, hence there there should be a way to escape these characters. The special character can be in quoted text like in:

|   Operators   | 
| --------------| 
| `||`          | 
| `|=`          | 

or without quotes

|   Operators   | 
| --------------| 
| ||            | 
| |=            | 
3

1 Answer 1

1

As a temporary workaround you can use HTML <code> element instead of backticks:

Example:

|   Operators   | 
| --------------| 
| `&&` <code>\|\|</code> `!` | 
| <code>\|=</code> | 

This renders like that:

2
  • Have you tried this on docs.so? It's interesting... :P
    – Braiam
    Commented Oct 1, 2016 at 19:21
  • @Braiam Yes, the screenshot is from Documentation. Commented Oct 1, 2016 at 19:22

Not the answer you're looking for? Browse other questions tagged .