diff --git a/Cargo.lock b/Cargo.lock index bfbc37a..d6f80a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1204,9 +1204,9 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.10.3" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76979bea66e7875e7509c4ec5300112b316af87fa7a252ca91c448b32dfe3993" +checksum = "8746739f11d39ce5ad5c2520a9b75285310dbfe78c541ccf832d38615765aec0" dependencies = [ "bitflags 2.6.0", "memchr", diff --git a/Cargo.toml b/Cargo.toml index 8c26b19..228321e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ clap = "2.33.3" error-chain = "0.12.4" itertools = "0.10.0" libc = "0.2.82" -pulldown-cmark = { version = "0.10", default-features = false } +pulldown-cmark = { version = "0.11", default-features = false } rand = "0.8.2" regex = "1.4.3" remove_dir_all = "0.8.0" diff --git a/src/elan-cli/term2.rs b/src/elan-cli/term2.rs index a5da8ee..c574f41 100644 --- a/src/elan-cli/term2.rs +++ b/src/elan-cli/term2.rs @@ -176,7 +176,7 @@ impl<'a, T: Instantiable + Isatty + io::Write + 'a> LineFormatter<'a, T> { Tag::TableHead => {} Tag::TableRow => {} Tag::TableCell => {} - Tag::BlockQuote => {} + Tag::BlockQuote(_) => {} Tag::CodeBlock(_) | Tag::HtmlBlock { .. } => { self.wrapper.write_line(); self.wrapper.indent += 2; @@ -264,6 +264,8 @@ impl<'a, T: Instantiable + Isatty + io::Write + 'a> LineFormatter<'a, T> { TaskListMarker(true) => {} TaskListMarker(false) => {} InlineHtml(_) => {} + InlineMath(_) => {} + DisplayMath(_) => {} } } }