From bcbe6b087670b2d756b041c5fd9d773816364bda Mon Sep 17 00:00:00 2001 From: Max Heller Date: Sun, 19 Jan 2025 01:45:22 -0500 Subject: [PATCH] Fix incorrectly hidden lines in Rust code blocks in PDFs (#2565) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrades `mdbook-pandoc` to pull in a fix relating to hidden lines in Rust code blocks. The bug was causing lines like `#[test]` to be hidden when they should not have been. ## HTML Screenshot 2025-01-18 at 12 50 26 PM ## PDF (before) Screenshot 2025-01-18 at 12 51 25 PM ## PDF (after) Screenshot 2025-01-18 at 12 52 25 PM --- .github/workflows/install-mdbook/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install-mdbook/action.yml b/.github/workflows/install-mdbook/action.yml index 7a30473d..db8e9f30 100644 --- a/.github/workflows/install-mdbook/action.yml +++ b/.github/workflows/install-mdbook/action.yml @@ -17,7 +17,7 @@ runs: - name: Install mdbook-pandoc and related dependencies run: | - cargo install mdbook-pandoc --locked --version 0.9.0 + cargo install mdbook-pandoc --locked --version 0.9.3 sudo apt-get update sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk texlive-lang-arabic librsvg2-bin fonts-noto curl -LsSf https://github.com/jgm/pandoc/releases/download/3.6.2/pandoc-3.6.2-linux-amd64.tar.gz | tar zxf -