-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDOCUMENTATION.html
More file actions
45 lines (42 loc) · 1.46 KB
/
Copy pathDOCUMENTATION.html
File metadata and controls
45 lines (42 loc) · 1.46 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stack Audit Documentation</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css">
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
@media print {
.no-print { display: none; }
body { background: white; }
.markdown-body { padding: 0; }
}
</style>
</head>
<body class="markdown-body">
<div class="no-print" style="margin-bottom: 20px; text-align: right;">
<button onclick="window.print()" style="padding: 10px 20px; cursor: pointer; background: #238636; color: white; border: none; border-radius: 6px; font-weight: bold;">Download as PDF</button>
</div>
<div id="content"></div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
fetch('DOCUMENTATION.md')
.then(response => response.text())
.then(text => {
document.getElementById('content').innerHTML = marked.parse(text);
});
</script>
</body>
</html>