(options)
| 3472 | } |
| 3473 | |
| 3474 | function markdownList(options) { |
| 3475 | return function(attributes, list) { |
| 3476 | return { |
| 3477 | start: list ? "\n" : "", |
| 3478 | end: list ? "" : "\n", |
| 3479 | list: { |
| 3480 | isOrdered: options.isOrdered, |
| 3481 | indent: list ? list.indent + 1 : 0, |
| 3482 | count: 0 |
| 3483 | } |
| 3484 | }; |
| 3485 | }; |
| 3486 | } |
| 3487 | |
| 3488 | function markdownListItem(attributes, list, listItem) { |
| 3489 | list = list || {indent: 0, isOrdered: false, count: 0}; |