-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current highlighted line color #424
Comments
jaywcjlove
added a commit
that referenced
this issue
Dec 4, 2022
import CodeMirror from '@uiw/react-codemirror';
import { zebraStripes } from '@uiw/codemirror-zebra-stripes';
function App() {
return (
<CodeMirror
value=""
height="200px"
extensions={[
zebraStripes({
lineNumber: [1, [3, 6], 10],
lightColor: '#aca2ff33',
darkColor: '#aca2ff40',
}),
]}
/>
);
}
export default App; |
I fixed it by adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When highlighting lines of text, the current highlighted line color is different than the rest. In the image below, line 1 is different than the rest of the highlighted block.
How can I make the entire highlighted block the same color?
The text was updated successfully, but these errors were encountered: