-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.html
More file actions
33 lines (33 loc) · 1.48 KB
/
Copy pathdebug.html
File metadata and controls
33 lines (33 loc) · 1.48 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.8.1/github-markdown.css" integrity="sha512-Hasfm7Iv5AG2/v5DSRXetpC33VjyPBXn5giooMag2EgSbiJ2Xp4GGvYGKSvc68SiJIflF/WrbDFdNmtlZHE5HA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="page.css" />
<nav class="simpleNav">
<ol>
<li class="navItem">
<a href="/">Home</a>
</li>
<li class="navItem">
<a href="https://github.com/chu23465/markdown-to-pdf#markdown-to-pdf-converter">Github</a>
</li>
</ol>
</nav>
</head>
<body>
<br>
<br>
<br>
<div id="inputDiv" class="inputDiv">
<input type="file" id="fileInput" accept=".md" hidden>
<button title="Choose a file from your device and upload it" type="button" class="buttonwithCSS" id="uploadBtn" aria-label="Choose Markdown File">Choose Markdown File</button>
<button title="PDF generated using current page theme" type="button" class="buttonwithCSS" id="pdfGen" aria-label="Generate PDF">Generate PDF</button>
<button title="Switch to Opposite Theme" type="button" class="buttonwithCSS" id="themeToggle" aria-label="Toggle theme">Switch Theme</button>
</div>
<article class="markdown-body" id="markdown-body"></article>
<script src="index.ts"></script>
<!-- Script at the end otherwise it doesn't detect all elements-->
</body>
</html>