From 631d931973fbb7d2e01e1aeb87a33dd9d63ec38e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 26 Aug 2024 14:36:24 -0400 Subject: [PATCH] fix(fmt/markdown): fix regression with multi-line footnotes and inline math (#25222) What happened in this specific case was the parser used to actually treat these as code block. Now it treats it as a multi-paragraph footnote and that caused the issue - https://github.com/dprint/dprint-plugin-markdown/pull/121/files --- .dprint.json | 4 ++-- Cargo.lock | 4 ++-- cli/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.dprint.json b/.dprint.json index 60bf51ecc2..c179ac048c 100644 --- a/.dprint.json +++ b/.dprint.json @@ -67,9 +67,9 @@ "plugins": [ "https://plugins.dprint.dev/typescript-0.91.6.wasm", "https://plugins.dprint.dev/json-0.19.3.wasm", - "https://plugins.dprint.dev/markdown-0.17.6.wasm", + "https://plugins.dprint.dev/markdown-0.17.8.wasm", "https://plugins.dprint.dev/toml-0.6.2.wasm", "https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0", - "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.4.0.wasm" + "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm" ] } diff --git a/Cargo.lock b/Cargo.lock index ceb8fb795a..055c323206 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2517,9 +2517,9 @@ dependencies = [ [[package]] name = "dprint-plugin-markdown" -version = "0.17.6" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef42762177b1a74b52b98fe946cb88fa4a01f149b56208de72b43d2be0a54c6" +checksum = "934a8e33f6f373b2fb66c288a468e3dae9a56a6c66bfecd5504fe566131afd3f" dependencies = [ "anyhow", "dprint-core", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 6034145a66..8eeef8cb35 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -102,7 +102,7 @@ dissimilar = "=1.0.4" dotenvy = "0.15.7" dprint-plugin-json = "=0.19.3" dprint-plugin-jupyter = "=0.1.3" -dprint-plugin-markdown = "=0.17.6" +dprint-plugin-markdown = "=0.17.8" dprint-plugin-typescript = "=0.91.6" env_logger = "=0.10.0" fancy-regex = "=0.10.0"