Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of using prism standalone
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="/prism-assets/prism.js"></script>
<script type="text/javascript" src="/prism-assets/bundle.js"></script>
</head>
<body>
<div id="root"></div>
<script type="text/javascript">
Prism.run(document.getElementById("root"), "/app.rb");
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment