James Sizeland
|
3cae183f51
|
feat: add syntax highlighting (#1386)
* add highlightjs
* add github light and dark theme
* inject style classes
* fix typo
* remove conflicting style overrides
* add highlightjs function and language list
* add language select setting
* add language select input
* add watcher to rerender page on changes to language select
* lockfile update
* rename highlightCode variables
* reorder code languages alphabetically
* copy translation style for highlight selector
* move code highlighting below theme color section
* move highlighting toggle logic into settings component
* add conditional statement to docLoadHandler manageSyntaxHighlighting
* reorder imports
* switch to media query for dark mode
* combine useEffect callbacks for code highlighting
* add feature line about code highlighting
* fix table tabbing
|
2025-06-13 14:40:18 +02:00 |
|