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
, andtypeset
modules inside themd
module so thatpandoc_ast
is never exposed outsidemd
- change the
Markdown
type to contains aRefCell<Pandoc>
and make use of its internal mutability so that theMarkdown
API 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 forMarkdown
to 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