-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmathjax-editor.html
More file actions
77 lines (68 loc) · 2.98 KB
/
Copy pathmathjax-editor.html
File metadata and controls
77 lines (68 loc) · 2.98 KB
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
<!DOCTYPE html>
<html lang="ja">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-144211946-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-144211946-1');
</script>
<meta charset="utf-8">
<title>ブログエディタ(Mathjax & Markdown)</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1"
crossorigin="anonymous">
<!--
<style>
#reload-btn{
visibility: hidden;
}
</style>
-->
</head>
<body>
<input type="file" accept=".md,.html" id="mdfile" class="btn btn-secondary">
<!-- <input id="upfile_btn" type="button" value="Markdownファイルをアップロード"> -->
<!--<button id="reload-btn" class="btn btn-secondary">ファイルの再読み込み</button>-->
<div class="row">
<div class="col-5 m-1">
<textarea name="article" id="editor_area" cols="30" rows="30" class="form-control"></textarea>
</div>
<div class="col-6 m-1 border">
<iframe src="blog-view.php" id="preview" width="100%" height="100%"></iframe>
</div>
</div>
<button id="copy-button" class="btn btn-secondary">編集画面にあるテキストをコピー</button>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2661815267943239"
crossorigin="anonymous"></script>
<!-- フッタ広告 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2661815267943239"
data-ad-slot="4130245026"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- <script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script> -->
<!-- <script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous">
</script>
-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- <script src="https://unpkg.com/@popperjs/core@2"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script> -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
crossorigin="anonymous">
</script>
<!-- <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> -->
<script src="node_modules/marked/marked.min.js"></script>
<script src="mathjax-editor.js"></script>
</body>
</html>