Skip to content

Commit ab2cfe8

Browse files
committed
demo: add more code snippet
1 parent 81cf037 commit ab2cfe8

File tree

3 files changed

+46
-3
lines changed

3 files changed

+46
-3
lines changed

demo/src/examples/example01.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,20 @@ <h2 class="bd-title">
9999
</div>
100100
</div>
101101

102-
<div class="row mt-4">
102+
<div class="my-5 offset-sm-1 col-sm-10">
103+
<hr />
104+
</div>
105+
106+
<div class="row mt-4">
103107
<label class="col-sm-2">Code Sample</label>
104108
<div class="col-sm-10 col-lg-8">
105-
<iframe style="height:100%; width:60%; position:absolute;" src="data:text/html;charset=utf-8,
109+
<iframe
110+
style="height: 100%; width: 60%; position: absolute"
111+
src="data:text/html;charset=utf-8,
106112
<head><base target='_blank' /></head>
107113
<body><script src='https://gist.github.com/ghiscoding/d9136bb871e43cf93da6b58cd3e1ccfe.js'></script>
108-
</body>">
114+
</body>"
115+
>
109116
</iframe>
110117
</div>
111118
</div>

demo/src/i18n/i18n.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,22 @@ <h2 class="bd-title">
3838
</select>
3939
</div>
4040
</div>
41+
42+
<div class="my-5 offset-sm-1 col-sm-10">
43+
<hr />
44+
</div>
45+
46+
<div class="row mt-5">
47+
<label class="col-sm-2">Code Sample</label>
48+
<div class="col-sm-10 col-lg-8">
49+
<iframe
50+
style="height: 100%; width: 60%; position: absolute"
51+
src="data:text/html;charset=utf-8,
52+
<head><base target='_blank' /></head>
53+
<body><script src='https://gist.github.com/ghiscoding/337a664ffd1564d2f95c3f9d1b814172.js'></script></script>
54+
</body>"
55+
>
56+
</iframe>
57+
</div>
58+
</div>
4159
</div>

demo/src/methods/methods11.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,22 @@ <h2 class="bd-title">
5151
</select>
5252
</div>
5353
</div>
54+
55+
<div class="my-5 offset-sm-1 col-sm-10">
56+
<hr />
57+
</div>
58+
59+
<div class="row mt-5">
60+
<label class="col-sm-2">Code Sample</label>
61+
<div class="col-sm-10 col-lg-8">
62+
<iframe
63+
style="height: 100%; width: 60%; position: absolute"
64+
src="data:text/html;charset=utf-8,
65+
<head><base target='_blank' /></head>
66+
<body><script src='https://gist.github.com/ghiscoding/4ab63b63f7374017e79151328f70ba73.js'></script>
67+
</body>"
68+
>
69+
</iframe>
70+
</div>
71+
</div>
5472
</div>

0 commit comments

Comments
 (0)