Ported fb1976d459e720e5dc8d967ee1fd6f7d3090c369.
Ported 46086130325c4aa6042cd84df26bf92fb3966342.
Ported 67baf31a5166559125bec246e4d31e3fad2c3e21.
Ported 8824d8190d40a6af705eebc6f36ed3aff33d91e0.
Using ```javascript results in correct highlighting.
Fixed footnote link to reading document.
Ported 6a5a0c9dfe8e4f5ec435ee0d520f5058aa93e835.
Ported c57b9a1bc113abc656935c7eee9ac662d58151f8.
Ported dd1932736e7dfb582608e20ad2c2e54075e1f281.
Ported ca4a703fd75531e7a9aa7c5a4eb73e87a1a8d199.
Ported 6f68b3319ec4267b9a08a0b64ec6bd32a41088c1.
Ported 0ef2b755591e97e35aacbcf3fa69db0355bf6ccc.
Ported cb916b2ff968f575fcd3255d52a0b5fe2eb6e4a5.
Ported 32433eabbdece463b8b313f8c9151db54c39fd8f.