Closed justinpombrio closed 8 months ago
Merge "marks" and "styles", into a single thing called "styles".
trait Style: Debug + Clone + Default { fn combine(parent: Style, child: Style) -> Style }
StyleLabel
Style
trait Style
Notation::Style(StyleLabel, Notation)
PrettyDoc.node_style(self) -> Style
All handled in ConsolidatedNotation.
ConsolidatedNotation
Checklist:
Add a StyleLabel field to Notation::Indent so that you can style just the indentation. Not needed for Literal or Text.
Notation::Indent
Literal
Text
Done in PR #17.
Merge "marks" and "styles", into a single thing called "styles".
trait Style: Debug + Clone + Default { fn combine(parent: Style, child: Style) -> Style }
StyleLabel
Style
implementstrait Style
Notation::Style(StyleLabel, Notation)
PrettyDoc.node_style(self) -> Style
All handled in
ConsolidatedNotation
.Checklist: