1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-19 14:17:51 +02:00

Upgrade mdbook-pandoc to fix missing images in PDFs (#2531)

[`mdbook-pandoc`
0.8](https://github.com/max-heller/mdbook-pandoc/releases/tag/v0.8.0)
now supports `<img>` elements in raw HTML, fixing a few missing images
in the PDF versions of the course.
This commit is contained in:
Max Heller 2025-01-02 03:52:42 -05:00 committed by GitHub
parent 549391119b
commit d4cc29ff0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,11 +17,11 @@ runs:
- name: Install mdbook-pandoc and related dependencies - name: Install mdbook-pandoc and related dependencies
run: | run: |
cargo install mdbook-pandoc --locked --version 0.7.0 cargo install mdbook-pandoc --locked --version 0.8.0
sudo apt-get update sudo apt-get update
sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk librsvg2-bin fonts-noto sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk librsvg2-bin fonts-noto
curl -LsSf https://github.com/jgm/pandoc/releases/download/3.2.1/pandoc-3.2.1-linux-amd64.tar.gz | tar zxf - curl -LsSf https://github.com/jgm/pandoc/releases/download/3.6.1/pandoc-3.6.1-linux-amd64.tar.gz | tar zxf -
echo "$PWD/pandoc-3.2.1/bin" >> $GITHUB_PATH echo "$PWD/pandoc-3.6.1/bin" >> $GITHUB_PATH
shell: bash shell: bash
- name: Install mdbook-i18n-helpers - name: Install mdbook-i18n-helpers