-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
33 lines (31 loc) · 1.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<title>Benchmarking with pytest-benchmark</title>
<meta charset="utf-8">
<link rel="stylesheet" href="theme.css">
</head>
<body>
<script src="remark.min.js"></script>
<script>
// Add an [:include](path-to-md-file) macro.
remark.macros.include = function () {
var xmlhttp = new XMLHttpRequest();
xmlhttp.open('GET', this, false);
xmlhttp.send();
return xmlhttp.responseText;
};
// Add an [:includecode](path-to-source-file) macro.
remark.macros.includecode = function () {
var source = remark.macros.include.call(this);
return '```\n' + source + '\n```\n';
};
var slideshow = remark.create({
sourceUrl: 'pytest-benchmark.md',
highlightStyle: 'solarized-light',
highlightSpans: false,
highlightLanguage: 'python',
})
</script>
</body>
</html>