如何使用 Bower 安装 highlight.js?

How to install highlight.js using bower?

highlight.js最新版本为8.4:https://github.com/isagalaev/highlight.js/tree/8.4

当我尝试使用 bower 安装它时,我得到版本 7.0.1:

bower install highlight -S
bower install highlight-js -S
bower install highlight.js.origin -S
bower install git://github.com/isagalaev/highlight.js.git -S

即使我用"git://github.com/isagalaev/highlight.js.git#~8.4"我也做不到:

bower highlight#~8.4        not-cached git://github.com/isagalaev/highlight.js.git#~8.4
bower highlight#~8.4           resolve git://github.com/isagalaev/highlight.js.git#~8.4
bower highlight#~8.4      ENORESTARGET No tag found that was able to satisfy ~8.4

Additional error details:
Available versions: 7.0.1, 6.0.1

如何使用 bower 安装 highlight.js 8.4?

https://github.com/components/highlightjs 的 shim-repository 发布了 8.4 版本(以及大多数更高版本)。所以 bower install highlightjs 应该这样做。