Implement bold token
This commit is contained in:
parent
36e2b5925c
commit
1faa0d5c3b
6 changed files with 84 additions and 11 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue