code: @Override
      public void beginList(WikiParameters params, boolean ordered)
      {
          if (ordered) {
              listOrdering.push(ListOrdering.ORDERED);
          } else {
              listOrdering.push(ListOrdering.UNORDERED);
          }
          if (listItemWritten) { // new line for each new list
              println();
          }
      }
docs: ------------------------------------------------------------------------