mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-09-10 01:59:44 +10:00
Replace the classic DOM shell with slate widgets, markdown→slate rendering, and a CI index build that uses build-docs.cjs.
25 lines
555 B
HTML
25 lines
555 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Docs Viewer</title>
|
|
<style>
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
height: 100%;
|
|
background: #1e1e2e;
|
|
color: #c6d0f5;
|
|
}
|
|
html:not([data-ready]) {
|
|
visibility: hidden;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<slate-docs-viewer index="./index.json"></slate-docs-viewer>
|
|
<script type="module" src="./demo/main.js"></script>
|
|
</body>
|
|
</html>
|