-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (45 loc) · 1016 Bytes
/
index.html
File metadata and controls
53 lines (45 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<title>learn</title>
<link rel="stylesheet" href="/docs/lib/tomorrow-night.min.css">
<script src="/docs/lib/highlight.min.js"></script>
</head>
<body>
<div id="reactapp"></div>
<!-- <div>
<pre><code class="js">
var a = 123;
function f1 () {
return a + 1;
}
</code></pre>
<pre><code id="test" class="javascript">
</code></pre>
</div> -->
<script src="/js/bundle.js"></script>
<script>
// hljs.configure({
// tabReplace: ' ', // 4 spaces
// });
// var str = `
// import React from "react";
// /*首页*/
// class Home extends React.Component {
// constructor(props) {
// super(props);
// }
// render() {
// var a = 123;
// console.log("a ==" + a);
// return (
// <div>这里是首页页面。</div>
// );
// }
// }
// export default Home;`;
// document.querySelector('pre #test').innerText = str;
// hljs.initHighlighting();
</script>
</body>
</html>