1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Example Quote Error
===================
## In the text:
This is Renzo's code.
Debian's lintian returns the following warning:
acute-accent-in-manual-page
This manual page uses the \' groff sequence. Usually, the intent to
generate an apostrophe, but that sequence actually renders as a an acute
accent.
For an apostrophe or a single closing quote, use plain '. For single
opening quote, i.e. a straight downward line ' like the one used in
shell commands, use \(aq.
## Basic code block
The situation is even worse when there are code blocks, mainly code
chunks or commands. E.g., copy-paste fails.
Type the following command `echo 'Hello World'`.
``` bash
$ echo 'hello world'
```
The following code cannot be compiled:
``` C
int main() {
int example = 42;
switch (example) {
case 'a': return 10;
default: return 42;
}
}
```
|