notedown-rt 0.3.2

Notedown Text parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub(crate) mod author;
pub(crate) mod class;
pub(crate) mod datetime;
pub(crate) mod title;
pub(crate) mod toc;
use super::*;

impl DocumentMeta {
    #[inline]
    pub fn build_toc(&mut self, node: &ASTNode) {
        let cfg = TocConfig::default();
        self.toc = node.toc_configurable(&cfg);
    }
}