Source code formatting

  • To format a fragment of source code (like the name of a function), surround it with backquotes ( ` ) on both sides.
  • To format multiple lines of source code, insert three backquotes (```) in the line before the actual code starts, and three more in the line after it ends.
Markup Result
The `exit()` function
```
<?
phpinfo();
$s = "Hello, World!\n";
print $s;
```