Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/userscripters/restore-highlightjs
Restores highlight.js functionality on review and revision pages. https://stackapps.com/q/9154
https://github.com/userscripters/restore-highlightjs
hacktoberfest highlight highlighting syntax-highlighting
Last synced: about 1 month ago
JSON representation
Restores highlight.js functionality on review and revision pages. https://stackapps.com/q/9154
- Host: GitHub
- URL: https://github.com/userscripters/restore-highlightjs
- Owner: userscripters
- License: gpl-3.0
- Created: 2021-09-13T18:41:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T09:59:51.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T21:55:38.793Z (almost 2 years ago)
- Topics: hacktoberfest, highlight, highlighting, syntax-highlighting
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Obsolete
This userscript is now obsolete, as [a permanent fix](https://meta.stackoverflow.com/a/423542) has now been implemented by Stack Exchange.
---
## About
This is a highlight.js plugin that was developed in order to enable highlighting in the revision and review pages as it [is currently disabled](https://meta.stackoverflow.com/a/408993). Apparently, StackExchange has its own definition of "hotfix".
A large part of the userscript's code has been shamelessly stolen from [Deprecate HTML auto-merging from core (plugin may be needed)](https://github.com/highlightjs/highlight.js/issues/2889) and follows [this piece of advice](https://github.com/highlightjs/highlight.js/issues/2889#issuecomment-862483141).
## Support
Bug reports for the project should be [submitted here](https://github.com/userscripters/restore-highlightjs/issues).
Before adding a new one, please check if it hasn't been raised before.