compilerPrototype.visitOrderedItems

Parsed documentation:
View on GitHub
/**
* Visit ordered list items.
*
* Starts the list with
* `node.start` and increments each following list item
* bullet by one:
*
*     2. foo
*     3. bar
*
* In `incrementListMarker: false` mode, does not increment
* each marker and stays on `node.start`:
*
*     1. foo
*     1. bar
*
* Adds an extra line after an item if it has
* `loose: true`.
*
* @example
*   var compiler = new Compiler();
*
*   compiler.visitOrderedItems({
*     type: 'list',
*     ordered: true,
*     children: [{
*       type: 'listItem',
*       children: [{
*         type: 'text',
*         value: 'bar'
*       }]
*     }]
*   });
*   // '1.  bar'
*
* @param {Object} node - `list` node with
*   `ordered: true`.
* @return {string} - Markdown list.
*/
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.