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

fixing thebelab highlighting #446

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

choldgraf
Copy link
Member

This fixes the kernel highlighting for ThebeLab. We were inferring the kernel from the parentDiv of code cells. This instead uses the kernelName that's defined on the page along with a helper function to make it output the right syntax for CodeMirror.

fixes #151

@choldgraf choldgraf merged commit fd76efa into executablebooks:master Dec 4, 2019
@choldgraf choldgraf deleted the thebelab_fix branch December 4, 2019 22:31
@choldgraf choldgraf added the bug Something isn't working label Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax highlighting does not work with Thebelab
1 participant