_                    _
  ___ | |__   __ _ _______ | |_
 / _ \| '_ \ / _` |_  / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
 \___/|_| |_|\__,_/___\___/ \__|

mdoc_list_examplesexamples

NOTE: The results in these examples are affected by the site css, the results would be different on the terminal or with a different css.

This document contains examples of mdoc lists. This document is a work in progress, it does not have all examples.

.Bl -dash
.It
Item 1
.It
Item 2
.El
  • Item 1
  • Item 2

.Bl -bullet
.It
Item 1
.It
Item 2
.El
  • Item 1
  • Item 2

.Bl -enum
.It
Item 1
.It
Item 2
.El
  1. Item 1
  2. Item 2

.Bl -diag
.It Item 1
Item 1 desc
.It Item 2
Item 2 desc
.El
Item 1
Item 1 desc
Item 2
Item 2 desc

.Bl -inset
.It Item 1
Item 1 desc
.It Item 2
Item 2 desc
.El
Item 1
Item 1 desc
Item 2
Item 2 desc

.Bl -hang
.It Item 1
Item 1 desc
.It Item 2
Item 2 desc
.El
Item 1
Item 1 desc
Item 2
Item 2 desc

.Bl -ohang
.It Item 1
Item 1 desc
.It Item 2
Item 2 desc
.El
Item 1
Item 1 desc
Item 2
Item 2 desc

.Bl -tag
.It Item 1
Item 1 desc
.It Item 2
Item 2 desc
.El
Item 1
Item 1 desc
Item 2
Item 2 desc

.Bl -column header1 header2
.It Sy header1 Ta header2
.It cell1 Ta cell2
.It row2 Ta row2 - cell2
.El
cell1 cell2
row2 row2 - cell2

(back to top)

- Review this document on OpenBSD 7.9 release.

(back to top)

documentation, mandoc, roff, mdoc
examples: </man/manoh>
OpenBSD manpages: mdoc(7), mandoc_char(7)

(back to top)

2026-07-15 : Translated to Spanish.
2025-10-18 : Added columnated lists
2025-10-16 : Moved mdoc_examples to mdoc_list_examples for clarity.
2025-10-14 : Created.

(back to top)

ohazot | about | ohazot.com <admin@ohazot.com>

This document applies to: OpenBSD 7.8 , linux| 2026-07-15