-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (73 loc) · 3.03 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
<html lang="en">
<head>
<!-- meta -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>MathJax Editor</title>
<meta name="description" content="Converting scientific notation to decimal notation.">
<!-- <meta property="og:image" content="./assets/img/OGP.png" /> -->
<link rel="icon" href="./assets/img/favicon.svg" type="image/svg+xml"/>
<link rel="stylesheet" href="./assets/css/reset.css">
<link rel="stylesheet" href="./assets/css/style.css">
<!-- https://docs.mathjax.org/en/latest/web/configuration.html?highlight=heading#configuration-using-an-in-line-script -->
<script>
MathJax = {
startup: {
elements: ['output']
},
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
},
svg: {
fontCache: 'global'
}
};
</script>
<!-- https://docs.mathjax.org/en/latest/web/hosting.html#getting-mathjax-via-git -->
<script src="./node_modules/mathjax/es5/tex-chtml.js" id="MathJax-script" async></script>
<script src="./node_modules/monaco-editor/min/vs/loader.js"></script>
<!-- <script src="./node_modules/monaco-latex/dist/index.js"></script> -->
<script src="./assets/js/script.js"></script>
</head>
<body>
<!-- Header -->
<header>
<a class="logo" href="https://github.com/ohno/underleaf/">
<!-- <img src ="./assets/img/logo.svg"/> -->
<h1>Underleaf</h1>
</a>
<a class="menu" href="https://github.com/ohno/underleaf/">
<img src ="./assets/img/github-mark-white.svg"/>
</a>
</header>
<!-- Main -->
<main>
<section class="textareas">
<div class="textareas__block--left">
<h2 class="textareas__block__header">
<!-- <img src ="./assets/img/input.svg"/> -->
$f(x)=x^2$
</h2>
<div class="textareas__block__editor" id="input"></div>
</div>
<div class="textareas__block--right" id="right">
<svg id="arrow" xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0,0 L0,24 12,12"/></svg>
<h2 class="textareas__block__header">
<!-- <img src ="./assets/img/output.svg"/> -->
<g>$f(x)=x^2$</g>
</h2>
<!-- https://developer.mozilla.org/ja/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard -->
<div class="textareas__block__preview" id="output"></div>
</div>
</section>
<!-- <section class="description">
This is just a local LaTeX editor using <a target="_blank" href="https://www.mathjax.org/">MathJax</a>. This was built in a few hours. There are no special functions. I recommend using <a target="_blank" href="https://www.overleaf.com/">Overleaf</a> if you need more functions. If you really want to thank me, you can <a target="_blank" href="https://github.com/ohno/underleaf/">give me a star</a>.
</section> -->
</section>
</main>
<!-- Footer -->
<!-- <footer>
<a target="_blank" href="https://github.com/ohno/">© 2023 Shuhei Ohno</a>
</footer> -->
</body>
</html>