Implement bold token

This commit is contained in:
Juno Takano 2026-01-06 18:16:55 -03:00
commit 1faa0d5c3b
6 changed files with 84 additions and 11 deletions

View file

@ -16,6 +16,7 @@ pub struct State {
#[derive(Clone, Debug)]
pub struct Switches {
pub oblique: bool,
pub bold: bool,
}
#[derive(Clone, Debug)]
@ -70,7 +71,10 @@ impl Default for State {
block: Block::None,
},
dom_ids: HashMap::default(),
switches: Switches { oblique: false },
switches: Switches {
oblique: false,
bold: false,
},
buffers: Buffers {
anchor: AnchorBuffer {
candidate: Anchor::default(),