Skip to content

Commit

Permalink
Document code fences.
Browse files Browse the repository at this point in the history
References #135
  • Loading branch information
kristapsdz committed Sep 15, 2024
1 parent 9906f8c commit 2c081b4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions man/lowdown.5
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,23 @@ Here is how you start the program xterm:

xterm &
.Ed
.Pp
Alternatively, code blocks are called
.Dq fenced
if they're surrounded in three or more matching backticks or tildes.
Code fences may optionally include the language used in the code fence
following the header, such as in the following.
.Bd -literal -offset indent
```c
int main(void) {
puts("Engage!");
return 0;
}
```
.Ed
.Pp
The language, if provided, is usually passed into the output is
auxiliary information such as an HTML class.
.
.Ss Horizontal Rules
A horizontal rule is a line that goes across an output page.
Expand Down

0 comments on commit 2c081b4

Please sign in to comment.