diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-04-02 12:40:52 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-04-10 15:57:57 +0300 |
commit | c9627df005b5344f437c9eaaa98bb5fe00c47313 (patch) | |
tree | 2ef11b14d1c6f3600fe3e806720d324b38b4d7fe /src/doc.rs | |
parent | 85212e8ddc54c6ede71912127eaf84aac403f10d (diff) | |
download | subplot-c9627df005b5344f437c9eaaa98bb5fe00c47313.tar.gz |
feat: make typesetting issues into warnings
Sponsored-by: author
Diffstat (limited to 'src/doc.rs')
-rw-r--r-- | src/doc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -436,6 +436,7 @@ impl<'a> Document { let mut visitor = visitor::TypesettingVisitor::new(self.style.clone(), self.meta.bindings()); visitor.walk_pandoc(&mut self.ast); + self.warnings.push_all(visitor.warnings()); } /// Return all scenarios in a document. |