#1130033 Syntax highlighting broken

Package:
mdbook
Source:
mdbook
Description:
Markdown book creator tool
Submitter:
Guido Günther
Date:
2026-08-19 16:20:02 UTC
Severity:
normal
#1130033#5
Date:
2026-03-07 18:37:27 UTC
From:
To:
Hi,
syntax highlighting isn't working for me. Blocks like


```json
{
  "current_weather": {
    "temperature": 12.4
  },
  "daily": {
    "time": ["2026-02-15", "2026-02-16"],
    "temperature_2m_max": [14.2, 15.0],
    "temperature_2m_min": [5.1, 6.3]
  }
}
```

show withough color. Using the exact same boook source and using
upstream's `cargo install mdbook` binary shows colors as expected.

Cheers,
 -- Guido

#1130033#10
Date:
2026-08-19 16:18:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mdbook, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1130033@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Blair Noctis <ncts@debian.org> (supplier of updated mdbook package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 19 Aug 2026 16:02:00 +0000
Source: mdbook
Architecture: source
Version: 0.5.4+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed-By: Blair Noctis <ncts@debian.org>
Closes: 1130033
Changes:
 mdbook (0.5.4+ds-2) unstable; urgency=medium
 .
   * Vendor a fixed version of highlight.js, Closes: 1130033
Checksums-Sha1:
 2609f469ed3de36f658ff3318eebb4977ef13b29 2422 mdbook_0.5.4+ds-2.dsc
 7e16701ac2d4a50a8356602de3d4754fe19a0475 44728 mdbook_0.5.4+ds-2.debian.tar.xz
 020f628dbd6fe424d9a0a3059359df5708f362a7 6355 mdbook_0.5.4+ds-2_source.buildinfo
Checksums-Sha256:
 3fb4501372a312ec26bb38bc3fc7403f4d56c868b29f9af938405b1dd1bcbcf6 2422 mdbook_0.5.4+ds-2.dsc
 1f1a741e082eda2640467f588cd8ea412176b42879cec0ea940be73ea07a1034 44728 mdbook_0.5.4+ds-2.debian.tar.xz
 7d75090eee621788899fe86973c95314afb932ed3e335742d3c3169e2357ccd4 6355 mdbook_0.5.4+ds-2_source.buildinfo
Files:
 e1bc0ecc3d73967a8b03be2871995389 2422 rust optional mdbook_0.5.4+ds-2.dsc
 abde44d7a0427c14998043e363e6d9b6 44728 rust optional mdbook_0.5.4+ds-2.debian.tar.xz
 187b2933572d88710868d30818f74503 6355 rust optional mdbook_0.5.4+ds-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iIYEARYKAC4WIQSkiHwhuQf2oVaWacxWG2M00EUuRAUCaoXTrhAcbmN0c0BkZWJp
YW4ub3JnAAoJEFYbYzTQRS5EciIBAMs+Z0HjhGpn3VRuD3AsdDlOsa+6hpDJ5RC0
ypXPt+XDAP993pvTWFxlUuVPZyxYzBhHVmf9kOdQOVAUA2vUirNECA==
=14qD
-----END PGP SIGNATURE-----