index.html 2.0 KB
Newer Older
Y
Yu Yang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<html>
<head>
  <script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX", "output/HTML-CSS"],
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
      processEscapes: true
    },
    "HTML-CSS": { availableFonts: ["TeX"] }
  });
  </script>  
  <script src="http://cdn.bootcss.com/mathjax/2.7.0/MathJax.js" async></script>  
  <script type="text/javascript" src="../.tmpl/marked.js">
  </script>
  <link href="http://cdn.bootcss.com/highlight.js/9.9.0/styles/darcula.min.css" rel="stylesheet">
  <script src="http://cdn.bootcss.com/highlight.js/9.9.0/highlight.min.js"></script>  
  <link href="http://cdn.bootcss.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet">
Y
Yu Yang 已提交
21 22 23 24
  <link href="../.tmpl/theme.css" rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/perfect-scrollbar/0.6.14/css/perfect-scrollbar.min.css" rel="stylesheet">
  <link href="../.tmpl/override.css" rel="stylesheet">
  <link href="../.tmpl/github-markdown.css" rel='stylesheet'>    
Y
Yu Yang 已提交
25 26 27 28 29
</head>
<style type="text/css" >
.doc-content-wrap{
  margin-left:0;
}
Y
Yu Yang 已提交
30 31 32 33 34 35 36

.markdown-body {
    box-sizing: border-box;
    min-width: 200px;
    max-width: 980px;
    margin: 0 auto;
    padding: 45px;
Y
Yu Yang 已提交
37 38 39 40 41 42
}
</style>


<body class="doc-content-wrap">

Y
Yu Yang 已提交
43
<div id="context" class="container markdown-body">
Y
Yu Yang 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
</div>

<!-- This block will be replaced by each markdown file content. Please do not change lines below.-->
<div id="markdown" style='display:none'>
</div>
<!-- You can change the lines below now. -->

<script type="text/javascript">
marked.setOptions({
  renderer: new marked.Renderer(),
  gfm: true,
  tables: true,
  breaks: true,
  pedantic: false,
  smartLists: true,
  smartypants: false,
  sanitize: false,
  highlight: function(code) {
Y
Yu Yang 已提交
62
    code = code.replace(/&amp;/g, "&")
Y
Yu Yang 已提交
63 64 65 66 67 68 69
    return hljs.highlightAuto(code).value;
  }
});
document.getElementById("context").innerHTML = marked(
		document.getElementById("markdown").innerHTML)
</script>
</body>