public static void renderList(final ListBlock node, final NodeFormatterContext context, MarkdownWriter markdown) { ArrayList<Node> itemList = new ArrayList<Node>(); Node item = node.getFirstChild(); while (item != null) { itemList.add(item); item = item.getNext(); } renderList(node, context, markdown, itemList); }
boolean incompleteDescendants = taskListItemPlacement == TaskListItemPlacement.INCOMPLETE_NESTED_FIRST || taskListItemPlacement == TaskListItemPlacement.COMPLETE_NESTED_TO_NON_TASK; Node item = node.getFirstChild(); while (item != null) { if (item instanceof TaskListItem) { itemList.addAll(completeItems); } else { Node item = node.getFirstChild(); while (item != null) { itemList.add(item);
public static void renderList(final ListBlock node, final NodeFormatterContext context, MarkdownWriter markdown) { ArrayList<Node> itemList = new ArrayList<Node>(); Node item = node.getFirstChild(); while (item != null) { itemList.add(item); item = item.getNext(); } renderList(node, context, markdown, itemList); }
boolean incompleteDescendants = taskListItemPlacement == TaskListItemPlacement.INCOMPLETE_NESTED_FIRST || taskListItemPlacement == TaskListItemPlacement.COMPLETE_NESTED_TO_NON_TASK; Node item = node.getFirstChild(); while (item != null) { if (item instanceof TaskListItem) { itemList.addAll(completeItems); } else { Node item = node.getFirstChild(); while (item != null) { itemList.add(item);
private void finalizeListTight(ParserState parserState) { Node item = getBlock().getFirstChild(); boolean isTight = true; boolean prevItemHadBlankAfterItemPara = false;
private void finalizeListTight(ParserState parserState) { Node item = getBlock().getFirstChild(); boolean isTight = true; boolean prevItemHadBlankAfterItemPara = false;