issues Search Results · repo:akiran/react-highlight language:JavaScript
Filter by
61 results
(98 ms)61 results
inakiran/react-highlight (press backspace or delete to remove)Sorry, I don t understand this sentence. Where is the styles directory? Can I still use this library with react 18? The
styles will most likely be in node_modules/highlight.js/styles folder.
pokeyaro
- Opened on May 29, 2024
- #90
Using the Highlight component inside a component that is not marked with use client will throw the following error:
TypeError: Super expression must either be null or a function, not undefined
at ...
nicolasdeory
- 1
- Opened on Dec 13, 2023
- #89
Insticthere
- Opened on Jul 20, 2023
- #88
Console warning for highlightBlock.
To recreate:
import Highlight from react-highlight ;
...
Highlight className={language}
{some code}
/Highlight
Appearing message in browser console: ...
TrueJu
- 2
- Opened on Dec 22, 2022
- #87
I m on nodejs 18.3, so I m wondering if it s a compatibility thing, but here s a codesandbox that demonstrates it.
I was able to make it to work by hacking here to do this:
if (innerHTML) ...
maikhorma
- 3
- Opened on Jun 10, 2022
- #85
I need to use a different syntax stylesheet in dark vs light mode. How can I achieve this? As far as I can tell, it s
not possible? If so this seems like important missing functionality??
The way to do ...
ghost
- 4
- Opened on Jun 9, 2022
- #84
I love this package, but I can t use scoped class names. Is there a way around this?
For example when I use this:
div className={\${styles.area} ${styles.gridSpan1}`} `
it displays this:
div className={undefined ...
ghost
- 1
- Opened on Apr 16, 2022
- #83
Hi there 👋
highlight.js v10.7 includes some deprecations and I noticed this in my website s console (browser dev tools):
Deprecated as of 10.7.0. highlightBlock will be removed entirely in v12.0
rollbar.min.js:1 ...
lucascaton
- 6
- Opened on Jul 27, 2021
- #82
When using the following import:
import Highlight from react-highlight/lib/optimized ;
It gives the following error:
TypeError: _highlight2.default.registerLanguage is not a function
This did not ...
Cretezy
- Opened on Feb 28, 2021
- #80

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.