Skip to content

Instantly share code, notes, and snippets.

@gautiermichelin
Created May 15, 2016 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gautiermichelin/cf41c9430929836e8b14ea5b614c008c to your computer and use it in GitHub Desktop.
Save gautiermichelin/cf41c9430929836e8b14ea5b614c008c to your computer and use it in GitHub Desktop.
Fast html to load a presentation.md (markdown) file to remark.js
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Presentation</title>
<link rel='stylesheet' type='text/css' href='presentation.css'>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>
<script src='https://gnab.github.io/remark/downloads/remark-latest.min.js'></script>
</head>
<body>
<textarea id="source"> </textarea>
<script>
$('#source').load('presentation.md', function() {
var slideshow = remark.create();
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment