Skip to content

Conversation

dvberkel
Copy link

I have come to rely on running code samples in presentations. Unfortunately currently only evaluating JavaScript code is supported.

This change allows different evaluators to be configured by setting appropriate options. E.g.

$.deck.defaults.evaluatorFactoryFor['ruby'] = function(editor, output){
  // retrieve result of execution of code via delegation to a server
  output.html(result);
}

Which would enable 'running' Ruby code.

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

Successfully merging this pull request may close these issues.

1 participant