Closed Bawfen closed 1 year ago
I noticed that the format of the conditional operator is broken on the CS2113 website (https://nus-cs2113-ay2223s2.github.io/website/se-book-adapted/chapters/cppToJava.html#operators).
https://github.com/se-edu/se-book/blob/0086f3799378682bf60cf41e1adc5d0669a801bb/cppToJava/dataTypes/operators/text.md?plain=1#L74
I suspect that the | character is being read as a table. We could follow the suggestion from https://stackoverflow.com/questions/17319940/how-to-escape-a-pipe-char-in-a-code-statement-in-a-markdown-table to rectify it.
|
<code>||</code> | or | <code>true || false</code> %%{{ icon_output_right }}%% `true` | <code>false || false</code> %%{{ icon_output_right }}%% `false`
Thanks for the fix @Bawfen I've fixed it in this repo.
I noticed that the format of the conditional operator is broken on the CS2113 website (https://nus-cs2113-ay2223s2.github.io/website/se-book-adapted/chapters/cppToJava.html#operators).
https://github.com/se-edu/se-book/blob/0086f3799378682bf60cf41e1adc5d0669a801bb/cppToJava/dataTypes/operators/text.md?plain=1#L74
I suspect that the
|
character is being read as a table. We could follow the suggestion from https://stackoverflow.com/questions/17319940/how-to-escape-a-pipe-char-in-a-code-statement-in-a-markdown-table to rectify it.Suggested Fix