code: private void addText(TextCursor cursor, int limit, ArrayList<MDText> elements) {
          if (cursor.currentOffset < limit) {
              elements.add(new MDRawText(cursor.text.substring(cursor.currentOffset, limit)));
              cursor.currentOffset = limit;
          }
      }
docs: Adding raw simple text
  
  @param cursor   text cursor
  @param limit    text end
  @param elements current elements