You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
883 B

////
Included in:
- user-manual: Unordered lists: Custom markers
////
Asciidoctor offers numerous bullet styles for lists.
The list marker (bullet) is set using the list's block style.
The unordered list marker can be set using any of the following block styles:
* square
* circle
* disc
* none or no-bullet (indented, but no bullet)
* unstyled (no indentation or bullet) (HTML only)
NOTE: These styles are supported by the default Asciidoctor stylesheet.
When present, the style name is assigned to the unordered list element as follows:
For HTML:: the style name is assigned to the `class` attribute on the `<ul>` element.
For DocBook:: the style name is assigned to the `mark` attribute on the `<itemizedlist>` element.
Here's an unordered list that has square bullets:
[source]
----
include::ex-ulist.adoc[tag=square]
----
====
include::ex-ulist.adoc[tag=square]
====