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

Detect language from CodeMirror value, not React prop #21

Open
stuhlmueller opened this issue May 27, 2016 · 1 comment
Open

Detect language from CodeMirror value, not React prop #21

stuhlmueller opened this issue May 27, 2016 · 1 comment

Comments

@stuhlmueller
Copy link
Member

A code box that looks like this should be evaluated as Javascript:

// language: javascript

...
@longouyang
Copy link
Member

longouyang commented Jun 2, 2016

Summarizing a Slack conversation: in dippl, we set the React property based on the initial value of the codebox so that // language: javascript boxes do work there; this is therefore lower priority.

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