Skip to content

Instantly share code, notes, and snippets.

@colinhacks
Created May 13, 2022 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colinhacks/a15189e859aa7c08d4424ef726b7a6b6 to your computer and use it in GitHub Desktop.
Save colinhacks/a15189e859aa7c08d4424ef726b7a6b6 to your computer and use it in GitHub Desktop.
Minimal docsify index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>user/repo</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
name="description"
content="This is a description of user/repo"
/>
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"
/>
</head>
<body>
<nav
style="
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
"
></nav>
<div id="app"></div>
<script>
window.$docsify = {
subMaxLevel: 1,
maxLevel: 3,
auto2top: true,
repo: "user/repo",
routerMode: "history",
};
</script>
<script src="//cdn.jsdelivr.net/npm/docsify@4.12.2/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1.28.0/prism.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment