0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Derek Lewis dc6c93c03e doc,tools: properly syntax highlight API ref docs
Prior to this commit, all <pre> tags were being
highlighted as JavaScript. This has been corrected
to syntax highlight all languages appearing in the
API reference docs. This was accomplished by using
highlight.js instead of SHJS for the frontend lib.

* remove SHJS JavaScript code
* add highlight.js bundle
* fix script tags to reflect replacement
* migrate CSS to use highlight.js classes
* add appropriate documentation
* ensure api_assets README.md stays interal

Fixes: https://github.com/nodejs/node/issues/33363

PR-URL: https://github.com/nodejs/node/pull/33442
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
2020-05-23 18:11:11 +02:00
..
api Revert "n-api: detect deadlocks in thread-safe function" 2020-05-23 17:45:42 +02:00
api_assets doc,tools: properly syntax highlight API ref docs 2020-05-23 18:11:11 +02:00
changelogs doc: mention --experimental-top-level-await flag 2020-05-23 17:29:42 +02:00
guides doc,tools: properly syntax highlight API ref docs 2020-05-23 18:11:11 +02:00
.eslintrc.yaml
abi_version_registry.json doc: claim ABI version 85 for Electron 11 2020-05-20 13:26:45 +02:00
first_timer_badge.png
full-white-stripe.jpg
node.1 cli: add --trace-atomics-wait flag 2020-05-15 19:37:40 +02:00
osx_installer_logo.png
template.html doc,tools: properly syntax highlight API ref docs 2020-05-23 18:11:11 +02:00
thin-white-stripe.jpg