Notes
We decided to not follow the usual meeting structure and instead only
discussed how to refactor the Subplot code base. We isolated almost
all use of pandoc_ast to the new md module, and will continue on
that:
- move the
visitor,panhelper, andtypesetmodules inside themdmodule so thatpandoc_astis never exposed outsidemd - change the
Markdowntype to contains aRefCell<Pandoc>and make use of its internal mutability so that theMarkdownAPI requires a mutable reference only for methods that actually mutate the parsed Markdown document- currently all methods require a mutable
self, because they usepandoc_ast::MutVisitor, and that requires a mutable reference
- currently all methods require a mutable
- change the
TryFrom<&Path>trait implementation forMarkdownto be a constructor method for the type instead, for a more clear API
Lars will make these changes, and Daniel will review.
Meeting participants
- Daniel Silverstone
- Lars Wirzenius