File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed
Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ An example is the processing instructions to change the [markup renderer](markup
2020
2121Here follows a list off all possible instructions:
2222
23- - ` markup ` : change the active markup renderer
23+ - [ ` markup ` ] ( #change-markup-renderer ) : change the active markup renderer
24+ - [ ` engine ` ] ( #engine-concept ) : checks if the compiler uses the same version for slyde.
25+ - [ ` include ` ] ( #include-concept ) : include files in the final build.
2426
2527### Change Markup Renderer
2628
@@ -29,3 +31,30 @@ You can change the markup render to `XYZ` using:
2931``` XML
3032<?slyde markup =" XYZ" ?>
3133```
34+
35+ ## Engine (concept)
36+
37+ > [ !NOTE]
38+ > For now this is just a concept, I am not sure if it will make it into the final version.
39+
40+ Require a certain version for slyde to be. Works using semantic versioning.
41+
42+ ```
43+ <?slyde engine="v1"?>
44+ <?slyde engine="v1.2"?>
45+ <?slyde engine="v1.2.3"?>
46+ ```
47+
48+ ## Include (concept)
49+
50+ > [ !NOTE]
51+ > For now this is just a concept, I am not sure if it will make it into the final version.
52+
53+ You can include different files inside the final result. The parser is smart enough to know what type of content it is, and where to put it.
54+
55+ ``` XML
56+ <?slyde include =" http://example.com/script.js" ?>
57+ <?slyde include =" ./path/to/script.js" ?>
58+ <?slyde include =" http://example.com/style.css" ?>
59+ <?slyde include =" ./path/to/style.css" ?>
60+ ```
You can’t perform that action at this time.
0 commit comments