forked from blaregroup/HiliSyntax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (67 loc) · 2.41 KB
/
index.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
<html>
<head>
<title>Syntax Highlighter Demo</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- HiliSyntax javascript link -->
<script type="text/javascript" src="./js/HiliSyntax_Live.js"></script>
<!-- // custom CSS -->
<link rel="stylesheet" href="./css/master.css">
<!-- // using bootstrap links -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<section class="header">
<div class="header-name">
hiliSyntax();
</div>
<div class="sub-header-name">
A Syntax High-lighter
</div>
<hr>
</section>
<div class="body-container">
<section>
<div class="row">
<button type="button" name="darkTheme" class="col-sm-3" onclick="darkTheme();">Dark Theme</button>
<button type="button" name="lightTheme" class="col-sm-3" onclick="lightTheme();">Light Theme</button>
<button type="button" name="suffleTheme" class="col-sm-3" onclick="suffleTheme();">Suffle Theme</button>
<button type="button" name="copyCode" class="col-sm-3" onclick="copyFunction();">Copy Code</button>
</div>
</section>
<br>
<div class="row">
<section class="col-sm-6">
<div class="input-div">
<h1>INPUT CODE</h1>
<hr/>
</div>
<textarea name="name" class="" autofocus="autofocus" id="input" oninput="transform()">
</textarea>
</section>
<section class="col-sm-6">
<div class="input-div">
<h1>HIGHLIGHTED CODE</h1>
<hr/>
</div>
<div id="output-div" >
<pre id="output-area">
</pre>
</div>
</section>
</div>
</div>
<footer>
BlareGroup © 2019
</footer>
</body>
</html>