It can also be code in tables. This caused my answer to be rejected:
|Mathematical Operation|JSBI Operation| |---------|----| |Addition|c = JSBI.add(a, b)| |Subtraction|c = JSBI.subtract(a, b)| |Multiplication|c = JSBI.multiply(a, b)| |Division|c = JSBI.divide(a, b)|
which here on meta.stackoverflow.com renders as |Mathematical Operation|JSBI Operation| |---------|----| |Addition|c = JSBI.add(a, b)| |Subtraction|c = JSBI.subtract(a, b)| |Multiplication|c = JSBI.multiply(a, b)| |Division|c = JSBI.divide(a, b)| What
Mathematical Operation | JSBI Operation |
---|---|
Addition | c = JSBI.add(a, b) |
Subtraction | c = JSBI.subtract(a, b) |
Multiplication | c = JSBI.multiply(a, b) |
Division | c = JSBI.divide(a, b) |
What worked was enclosing the code portions in backticks:
|Mathematical Operation|JSBI Operation| |---------|----| |Addition|`c = JSBI.add(a, b)`| |Subtraction|`c = JSBI.subtract(a, b)`| |Multiplication|`c = JSBI.multiply(a, b)`| |Division|`c = JSBI.divide(a, b)`|
which renders as
|Mathematical Operation|JSBI Operation|
|---------|----|
|Addition|c = JSBI.add(a, b)
|
|Subtraction|c = JSBI.subtract(a, b)
|
|Multiplication|c = JSBI.multiply(a, b)
|
|Division|c = JSBI.divide(a, b)
|
For
Mathematical Operation | JSBI Operation |
---|---|
Addition | c = JSBI.add(a, b) |
Subtraction | c = JSBI.subtract(a, b) |
Multiplication | c = JSBI.multiply(a, b) |
Division | c = JSBI.divide(a, b) |
For context, the tables are about JSBI aka JavaScript BigInt operations.