-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (44 loc) · 1.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>LuaP</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@2/dist/zero-md.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fengari-web.min.js"></script>
<link href="style.css" rel="stylesheet">
<link rel="icon" href="favicon.ico">
<script src="io.js" type="text/javascript" async></script>
<script src="main.lua" type="application/lua" async></script>
</head>
<body style="margin: 0;">
<nav class="nav">
<img style="margin: 5px;" src="lua-logo.png" alt="lua-logo">
<h1 class="nav-text">
LuaP
</h1>
</nav>
<div class="flex-row">
<div class="sidebar">
<zero-md src="help.md">
</div>
<main>
<div class="lua-pattern">
<input id="input-pattern" value="%w+"></input>
<label for="input-pattern">lua pattern</label>
</div>
<div class="lua-text">
<div class="lua-text-highlighted">
<section id="text-highlighted"></section>
<textarea id="input-text">Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint
consectetur cupidatat.</textarea>
<label for="input-text">input</label>
</div>
<input type="file" id="io-read">
<h6 style="color: gray;">* correct highlighting of inner captures not guaranteed
😂</h6>
</div>
</main>
</div>
</body>
</html>