-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (59 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<title>Vue Text Editor</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/marked.js"></script>
<script type="text/javascript" src="js/lodash.js"></script>
</head>
<body>
<div class="container">
<div id="navigation">
<!-- <div class="container"> -->
<div class="row">
<!-- <div class="col-lg-12">
<ul class="nav">
<li class="nav-item"><a class="nav-link" href="">Home</a></li>
<li class="nav-item"><a class="nav-link" href="">Contact</a></li>
</ul>
</div> -->
</div>
<!-- </div> -->
</div>
<div id="app">
<div class="row">
<div class="col-lg-6">
<div class="jumbotron text-center">
<h1>Markdown Editor on <code>Vue.js</code></h1>
<!-- <h2>It's marked and lodash javascript library updating the browser</h2> -->
</div>
</div>
<div class="col-lg-6">
<textarea :value=input @input="update">{{input}}</textarea>
<div class="output-text" v-html="compiledMarkdown"></div>
</div>
</div>
<hr>
<!-- </div> -->
<!-- <div class="container"> -->
<div class="row">
<div class="col-lg-6">
<div class="jumbotron text-center">
<h1>Two way data binding on <code>Vue.js</code></h1>
</div>
</div>
<div class="col-lg-6">
<textarea v-model="inputDataBinding"></textarea>
<div class="output-text"><p>{{inputDataBinding}}</p></div>
</div>
</div>
<!-- </div> -->
</div>
</div>
<script type="text/javascript" src="js/vue.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>