diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2022-03-12 15:51:11 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2022-03-12 15:51:11 +0000 |
commit | 82d8edc0b037c83833753d41a40cc9c754345ede (patch) | |
tree | 91236c51b172b6f17d0d4d7a55ee6dadad5ebd5a /src | |
parent | 8023eb8f80884cd81449d70ec271d7bc4400450f (diff) | |
download | subplot-82d8edc0b037c83833753d41a40cc9c754345ede.tar.gz |
(chore): Update various crates a bit more
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/ast.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -146,7 +146,9 @@ fn parse_blocks(markdown: &str) -> Vec<Block> { inline_from_inlines(&tag, &mut inlines) } Tag::Paragraph => blocks.push(paragraph(&mut inlines)), - Tag::Heading(level) => blocks.push(heading(level as i64, &mut inlines)), + Tag::Heading(level, _fragment, _classes) => { + blocks.push(heading(level as i64, &mut inlines)) + } Tag::CodeBlock(kind) => blocks.push(code_block(&kind, &mut inlines)), Tag::Image(_link, dest, title) => blocks.push(image_block(&dest, &title)), // We don't handle anything else yet. |