You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB

7 years ago
<!DOCTYPE html>
<html lang="zh-cmn-Hans" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>MDtoHTML</title>
<meta name="generator" content="EverEdit" />
<meta name="author" content="" />
<meta name="keywords" content="MDtoHTML,markdown" />
<meta name="description" content="MDtoHTML快速将Markdown文件转换为HTML" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://libs.xiaoz.top/layui-v2.2.5/layui/css/layui.css">
<link rel="stylesheet" href="static/style.css">
</head>
<body>
<div id="container" class = "layui-bg-gray">
<div class="layui-container">
<div class="layui-row">
<div class="layui-col-lg8 layui-col-sm12 layui-col-xs12 layui-col-md12 layui-col-md-offset2">
<div class="md-html">
<?php echo $html; ?>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>&copy;2018 本文档使用 <a href="https://markdown.win/" target = "_blank">MDtoHTML</a> 构建 | The author <a href="https://www.xiaoz.me/" target = "_blank" title = "小z博客">xiaoz</a></p>
</div>
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
7 years ago
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
7 years ago
<script>hljs.initHighlightingOnLoad();</script>
7 years ago
<script>
$(document).ready(function(){
//获取第一个H1作为标题
var h1 = $("h1").text();
//如果获取到了H1
if(h1) {
$("title").text(h1 + " - MDtoHTML");
}
});
</script>
7 years ago
<!--页面缓存于<?php echo $ftime; ?>-->
7 years ago
</body>
</html>