Implement the new fields for bold, italic, underline, and strike-through.

This commit is contained in:
Tom Alexander
2023-12-08 15:51:38 -05:00
parent 3fb7cb82cd
commit 8fd9ff3848
4 changed files with 86 additions and 30 deletions

View File

@@ -225,6 +225,8 @@ mod tests {
let input = OrgSource::new("foo *bar* baz");
let radio_target_match = vec![Object::Bold(Bold {
source: "*bar*",
contents: "bar",
post_blank: Some(" "),
children: vec![Object::PlainText(PlainText { source: "bar" })],
})];
let global_settings = GlobalSettings {