Skip to content

Commit 1655957

Browse files
save file
1 parent 3dfb3df commit 1655957

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

html-components/html-components.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@
152152
{border-top:1px solid blue;margin:30px}
153153

154154

155+
156+
code, code-src
157+
{display:block;white-space:pre;background:whitesmoke;padding:10px}
158+
155159

156160
</style>
157161

@@ -177,6 +181,8 @@
177181

178182
<div id=center>
179183

184+
185+
<code-src src='ex/component-include.js'></code-src>
180186

181187

182188
<div>
@@ -338,7 +344,12 @@
338344

339345
<script>
340346

341-
347+
document.querySelectorAll('code script').forEach(node=>node.parentNode.textContent=node.textContent);
348+
349+
350+
//:
351+
352+
342353
function initdom(){
343354

344355
hdr.initdom();
@@ -354,6 +365,8 @@
354365

355366

356367
</script>
368+
369+
<script src='https://libs.ext-code.com/html/code-src/code-src.js'></script>
357370

358371
</html>
359372

0 commit comments

Comments
 (0)