Hello, @terry-r and All,
After numerous tests, here are my conclusions about the insertion of ASCI symbols, with Unicode code-point < \x{007F}, in replies on NodeBB forum
Four cases will be considered :
Inside Normal text, possibly emphasized :
Writing of the symbol itself
Writing of the symbol, preceded by a backslash \
Inside Code Span zones or Code Block zones ( delimited between two lines of 3 backticks or two lines of 3 underscores ) or text indented with 4 space chars :
Writing of the symbol itself
Writing of the symbol, preceded by a backslash \
- If inside NORMAL text, possibly EMPHASIZED :
•------•--------* •---------•--------*
| Type | To get | | Type | To get |
•------•--------* •---------•--------*
| \\[ | [ | | \\\\\[ | \\[ |
| \\] | ] | | \\\\\] | \\] |
•------•--------* •---------•--------*
| | | | | |
| \\ | \ | | \\\\ | \\ |
| \* | * | | \\\* | \* |
| \+ | + | | \\\+ | \+ |
| \# | # | | \\\# | \# |
| \- | - | | \\\- | \- |
| \= | = | | \\\= | \= |
| \> | > | | \\\> | \> |
•------•--------* •---------•--------*
| { | { | | \\{ | \{ |
| } | } | | \\} | \} |
| ( | ( | | \\( | \( |
| ) | ) | | \\) | \) |
| ^ | ^ | | \\^ | \^ |
| $ | $ | | \\$ | \$ |
| . | . | | \\. | \. |
| | | | | | \\| | \| |
| ! | ! | | \\! | \! |
| " | " | | \\" | \" |
| % | % | | \\% | \% |
| & | & | | \\& | \& |
| ' | ' | | \\' | \' |
| , | , | | \\, | \, |
| / | / | | \\/ | \/ |
| ; | ; | | \\; | \; |
| < | < | | \\< | \< |
| ? | ? | | \\? | \? |
| @ | @ | | \\@ | \@ |
| _ | _ | | \\_ | \_ |
| ` | ` | | \\` | \` |
•------•--------• •---------•--------•
- IF inside a CODE SPAN zone `....` or a CODE BLOCK zone ~~~....~~~~ / ```....``` or in text INDENTED with FOUR spaces :
•------•--------* •--------•--------*
| Type | To get | | Type | To get |
•------•--------* •--------•--------*
| [ | [ | | \\\[ | \\[ |
| ] | ] | | \\\] | \\] |
•------•--------• •--------•--------•
| \ | \ | | \\ | \\ |
| * | * | | \* | \* |
| + | + | | \+ | \+ |
| { | { | | \{ | \{ |
| } | } | | \} | \} |
| ( | ( | | \( | \( |
| ) | ) | | \) | \) |
| ^ | ^ | | \^ | \^ |
| $ | $ | | \$ | \$ |
| . | . | | \. | \. |
| | | | | | \| | \| |
| ! | ! | | \! | \! |
| " | " | | \" | \" |
| # | # | | \# | \# |
| % | % | | \% | \% |
| & | & | | \& | \& |
| ' | ' | | \' | \' |
| , | , | | \, | \, |
| - | - | | \- | \- |
| / | / | | \/ | \/ |
| : | : | | \: | \: |
| ; | ; | | \; | \; |
| < | < | | \< | \< |
| = | = | | \= | \= |
| > | > | | \> | \> |
| ? | ? | | \? | \? |
| @ | @ | | \@ | \@ |
| _ | _ | | \_ | \_ |
| ` | ` | | \` | \` |
•------•--------• •--------•--------•
Remark : If a single BACK-TICK character must be inserted in a CODE SPAN zone, use the following THREE-lines syntax :
•------•--------* •--------•--------*
| Type | To get | | Type | To get |
•------•--------* •--------•--------*
| **`` | | | **`` | |
| ` | ` | | \` | \` |
| ``** | | | ``** | |
•------•--------• •--------•--------•
Best Regards,
guy038