File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
docs/demos/_demo-template Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ // PHP script here
3
+ ?>
Original file line number Diff line number Diff line change 14
14
</ script >
15
15
< script src ="../../../js/ "> </ script >
16
16
< script >
17
- // Script here
17
+ // JavaScript here
18
18
</ script >
19
19
< script id ="myScript ">
20
20
// myScript
@@ -42,10 +42,11 @@ <h2>Heading</h2>
42
42
43
43
< h3 > Subheading</ h3 >
44
44
45
- < div data-demo-html ="true " data-demo-js ="true " data-demo-css ="true ">
45
+ < div data-demo-html ="true " data-demo-js ="true " data-demo-css ="true " data-demo-php =" file-name " >
46
46
<!-- data-demo-html="true" to include the markup in this div in the source code view -->
47
47
<!-- data-demo-js="true" to include scripts from the head in the source code view -->
48
- <!-- data-demo-css="true" to include style from the head in the source code view -->
48
+ <!-- data-demo-css="true" to include style from the head in the source code view -->
49
+ <!-- data-demo-php="fileName" to include PHP script from file-name.php in the source code view -->
49
50
</ div > <!--/demo-html -->
50
51
51
52
< h3 > Subheading</ h3 >
You can’t perform that action at this time.
0 commit comments