Skip to content

Instantly share code, notes, and snippets.

@seandavi
Last active December 29, 2015 06:19
Show Gist options
  • Save seandavi/7628066 to your computer and use it in GitHub Desktop.
Save seandavi/7628066 to your computer and use it in GitHub Desktop.
Simple bootstrap template for use with knitr
<!DOCTYPE html>
<html>
<head>
<title>#!title#</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<script src="http://yandex.st/highlightjs/7.3/highlight.min.js"></script>
<script src="http://yandex.st/highlightjs/7.3/languages/r.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<link rel="stylesheet" href="http://yandex.st/highlightjs/7.3/styles/default.min.css">
#!mathjax#
#!header#
</head>
<body>
<div class="container">
<div class="row">
#!html_output#
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment