Skip to content
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

How to remove all syntax highlighting #431

Open
sam-rez opened this issue Dec 12, 2022 · 1 comment
Open

How to remove all syntax highlighting #431

sam-rez opened this issue Dec 12, 2022 · 1 comment

Comments

@sam-rez
Copy link

sam-rez commented Dec 12, 2022

Is there a way to remove all code completion and syntax highlighting? Basically, I would like it to be a notepad text editor.

jaywcjlove added a commit that referenced this issue Dec 12, 2022
@jaywcjlove
Copy link
Member

<CodeMirror
  value={`console.log('hello')`}
+  theme="none"
  height="400px"
  style={{ margin: '0 0 23px 0' }}
  extensions={[langs.markdown()]}
/>

@sam-rez upgrade v4.19.3

theme?: 'light' | 'dark' | 'none' | Extension;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants