notedown_ast 0.16.3

Notedown Abstract Syntax Tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;

/// # Ordered List
/// ```note
/// 1. part1
/// 2. part2
///    part2
/// 3. part3
///
/// 4. part4
/// ```
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct OrderedList {
    /// First element number of the list
    pub first_order: usize,
    /// Children nodes of the list
    pub children: Vec<ListItem>,
}