MDOC(oh) LOCAL MDOC(oh) mdoc - usage WIP: This document is a work in progress, it does not have all examples. 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. LISTS List have the following format: .Bl -[TYPE] .It item .El The item needs to be in the following line, some list can have the item or extra information in-line, those will be specified. Type | Result dash | - bullet | o enum | 1,2,3... Columnated list .Bl -column string1 string2 - string : defines the width of the column by using the length of the string. - strings can be quoted if it contains spaces. - Any number of strings can be used. .It col1 Ta col2 - The contents of the line as specified in the It line. - The cells are separated by Ta. - To specify the headers, add Sy to the cell to set the bold font in the first item. LITERAL_DISPLAY Single line Macro | Description | Usage | Result Li | literal display font | Li words | words Ql | inline quoted literal display | Ql words | `words' ESCAPING If a character is not displayed, it may be need to be escaped. Most chracters or words conflicting with mdoc commands can be escaped adding \& before the required character or command. " | \&" . | \&. \ | \e No | \&No TODO - Review this document on OpenBSD 7.8 release. - Add lists definitions: inset, diag, hang, ohang, tag. SEE ALSO documentation(oh) , mandoc(oh) , roff(oh) , mdoc_list_examples(oh) - examples: - OpenBSD manpages: mdoc(7) , mandoc_char(7) AUTHORS ohazot(oh) | about(oh) | ohazot.com: https://ohazot.com OpenBSD 7.8 , linux| Created:2025-10-12|Updated:2025-11-23| MDOC(oh)