Skip to content

Instantly share code, notes, and snippets.

@simonplend
Created February 17, 2021 11:15
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 simonplend/e8f10c0deb964d551e8d837f2770d7ba to your computer and use it in GitHub Desktop.
Save simonplend/e8f10c0deb964d551e8d837f2770d7ba to your computer and use it in GitHub Desktop.
Remark template which loads slides from a local slides.md file (https://github.com/gnab/remark)
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="utf-8" />
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
font-family: "Droid Serif";
}
h1,
h2,
h3 {
font-family: "Yanone Kaffeesatz";
font-weight: normal;
}
.remark-code,
.remark-inline-code {
font-family: "Ubuntu Mono";
}
</style>
</head>
<body>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script>
var slideshow = remark.create({
sourceUrl: "slides.md"
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment