-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
getting_started.html
94 lines (93 loc) · 2.36 KB
/
getting_started.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html>
<head>
<title>
Pixie Chroma | Getting Started Guide
</title>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@800&family=Source+Sans+Pro:wght@200;400;900&display=swap" rel="stylesheet">
<style>
body{
color:#ccc;
background-color:#080808;
font-family: 'Source Sans Pro', sans-serif;
}
a{
text-decoration:none;
color:#ff5c93;
}
img{
max-width: 1024px;
}
pre{
background-color: #000;
padding: 10px;
margin: 5px 0px;
border-radius: 5px;
color: #fff;
font-weight: 600;
border: 1px solid #ff5c93;
overflow-x: auto;
}
code{
background-color: #000;
padding: 5px;
border-radius: 5px;
color: #fff;
font-weight: 600;
line-height: 25px;
display: inline-block;
}
h1{
color: #ff5c93;
background-color: #000;
padding: 10px;
margin-bottom: 5px;
margin-top: 40px;
border-top: 5px dashed #ff5c93;
}
p{
line-height: 25px;
}
ol{
font-weight: 600;
line-height: 30px;
font-size: 20px;
}
li{
margin-bottom: 5px;
}
hr{
border: 2px dotted #727272;
}
#content{
background-color: #242424;
max-width: 1024px;
margin-left: auto;
margin-right: auto;
padding: 20px 20px;
font-size: 18px;
}
.pink_highlight{
color: #ff5c93;
}
</style>
</head>
<body>
<div id="content">
<h1>Loading...</h1>
</div>
<br>
<br>
This page was automatically rendered from the current version of <a href="https://github.com/connornishijima/Pixie_Chroma/blob/main/getting_started.md" target="_blank">getting_started.md</a>.
<script src="extras/scripts/marked.js"></script>
<script>
fetch("getting_started.md") // The path to the raw Markdown file
.then(response => response.blob()) // Unwrap to a blob...
.then(blob => blob.text()) // ...then to raw text...
.then(markdown => { // ...then pass the raw text into marked.parse
document.getElementById("content").innerHTML = marked.parse(markdown);
document.getElementById("content").innerHTML = document.getElementById("content").innerHTML.replaceAll("NOTE:", "<span class='pink_highlight'>NOTE:</span>");
document.getElementById("content").innerHTML = document.getElementById("content").innerHTML.replaceAll("<a ", "<a target='_parent'");
});
</script>
</body>
</html>