diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-01-19 19:58:14 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-01-19 19:58:14 +1300 |
commit | f67606cbdb43ea6e46372feb80c49e91db05725b (patch) | |
tree | 1da6ebe3c39f0561a7b77989b401b23e5f649de2 /src/block.rs | |
parent | e36eb90957231c70593477175befc89c41ebfe8e (diff) | |
download | markdown-f67606cbdb43ea6e46372feb80c49e91db05725b.zip |
Implement Math block
A math block is a line that begins and ends with a pair of dollar-signs.
Diffstat (limited to 'src/block.rs')
-rw-r--r-- | src/block.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block.rs b/src/block.rs index 1d6ac60..3ae39bf 100644 --- a/src/block.rs +++ b/src/block.rs @@ -13,6 +13,7 @@ pub enum Block { Paragraph(Line), List(Vec<Line>), Note(Vec<Line>), + Math(String), Table(Table), Break, Embed { label: String, path: String }, |