Class ListElement

    • Method Detail

      • list

        public static ListElement list​(InlineElement... elements)
        Creates a list with blocks of text. For example:
        
         .list(
         	text("this is first element of list"),
         	text("this is second element of list with a %s", link("https://link"))
         )
         
        Parameters:
        elements - list of this list entries
        Returns:
        list representation
      • format

        public void format​(Formatter formatter)