Skip to main content
try if blank lines fix formatting
Source Link
cachius
  • 1.9k
  • 5
  • 9

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 OperationJSBI Operation
Additionc = JSBI.add(a, b)
Subtractionc = JSBI.subtract(a, b)
Multiplicationc = JSBI.multiply(a, b)
Divisionc = 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 OperationJSBI Operation
Additionc = JSBI.add(a, b)
Subtractionc = JSBI.subtract(a, b)
Multiplicationc = JSBI.multiply(a, b)
Divisionc = JSBI.divide(a, b)

For context, the tables are about JSBI aka JavaScript BigInt operations.

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 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 context, the tables are about JSBI aka JavaScript BigInt operations.

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 OperationJSBI Operation
Additionc = JSBI.add(a, b)
Subtractionc = JSBI.subtract(a, b)
Multiplicationc = JSBI.multiply(a, b)
Divisionc = 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 OperationJSBI Operation
Additionc = JSBI.add(a, b)
Subtractionc = JSBI.subtract(a, b)
Multiplicationc = JSBI.multiply(a, b)
Divisionc = JSBI.divide(a, b)

For context, the tables are about JSBI aka JavaScript BigInt operations.

add working example and contect
Source Link
cachius
  • 1.9k
  • 5
  • 9

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 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 context, the tables are about JSBI aka JavaScript BigInt operations.

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)|

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 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 context, the tables are about JSBI aka JavaScript BigInt operations.

Source Link
cachius
  • 1.9k
  • 5
  • 9

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)|