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

Codemirror does not take effect #241

Closed
Tracked by #622
linjie98 opened this issue Oct 14, 2020 · 2 comments
Closed
Tracked by #622

Codemirror does not take effect #241

linjie98 opened this issue Oct 14, 2020 · 2 comments
Labels
Milestone

Comments

@linjie98
Copy link

Hi @minrk I tried to add a theme to the editor through the following configuration, but it didn't work.
I read the previous issues, but it still doesn’t work
<script type="text/x-thebe-config"> { bootstrap: true, kernelOptions: { name: "python3", serverSettings: { "baseUrl": "http://127.0.0.1:8888", "token": "test-secret" } }, codeMirrorConfig: { theme: "abcdef" }, } </script>
Can you tell me what should I do, thanks

@linjie98 linjie98 added the bug label Oct 14, 2020
@ymdahi
Copy link

ymdahi commented Dec 1, 2020

Just ran into this issue. Would be nice to be able to add some style/have control over the code editor, like https://codemirror.net/demo/theme.html#eclipse

@stevejpurves
Copy link
Collaborator

this is now functional see https://executablebooks.github.io/thebe/ for darcula in place

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

No branches or pull requests

3 participants