5 Star 3 Fork 0

Gitee 极速下载/markdown2html-cli

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/xbynet/markdown2html-cli
克隆/下载
template-bak.html 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
小小懒羊羊 提交于 2017-08-01 11:32 . improve to beautiful show
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ title }}</title>
<link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.12.0/styles/vs.min.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
.code {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
.post {
padding-top: 20px;
margin-left: 380px;
padding-bottom: 60px;
max-width: 960px;
}
ol.order {
counter-reset: item
}
li.order {
display: block
}
li.order:before {
content: counters(item, ".") " ";
counter-increment: item
}
.toc {
position: fixed;
width: 350px;
left: 20px;
top: 20px;
bottom: 20px;
height: 600px;
overflow-y: scroll;
}
</style>
</head>
<body>
<div class="toc">
<h3>目录:</h3>{{ toc }}</div>
<div class="post">
{{ Contents }}
</div>
<script>
hljs.initHighlightingOnLoad();
$("li>code,p > code").addClass("code");
</script>
</body>
</html>
<!-- fmtToc(tocmodel) -->
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/markdown2html-cli.git
git@gitee.com:mirrors/markdown2html-cli.git
mirrors
markdown2html-cli
markdown2html-cli
master

搜索帮助