You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/faq.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ While the XML ecosystem is often reliant on XSLT as a preprocessor, this option
12
12
- The scope of XSLT, even in its very first version was excessive & its syntax just verbose. This is mostly a result of `xpath` being too powerful of a tool.
13
13
- At some point `vs` will come with dynamic native components, and the idea is for them to match in syntax and behaviour the extended tags introduced by this preprocessor. A custom implementation is the only way to ensure a seamless integration between the two.
14
14
15
-
Hence, `vs` vendors `vs.templ` its own XSLT-ish preprocessor.
15
+
Hence, `vs` vendors _vs.templ_ its own XSLT-ish preprocessor.
16
16
Still, nothing about its semantics or syntax is directly tied to `vs`, so I am distributing it as a separate package, hoping it can reach a wider adoption.
17
17
18
18
## Why not [handlebars](https://handlebarsjs.com/) or [mustache](https://mustache.github.io/)?
@@ -32,4 +32,4 @@ That way, there is no need to load the entire data source in memory as it would
32
32
33
33
In theory, it would be possible for data to be expressed in other formats (eg. JSON) as well, but at the moment this is not a supported feature and is not likely going to be in scope for quite a while.
34
34
For the time being, you can offer external data sources of whatever type by implementing the optional `loadfn` downstream.
35
-
This allows `vs.templ` to indirectly work with any data source you desire.
35
+
This allows _vs.templ_ to indirectly work with any data source you desire.
Copy file name to clipboardExpand all lines: docs/ordering.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ Nodes should not be directly compared. Doing so is not illegal, just nonsensical
22
22
23
23
### Nodes
24
24
25
-
Nodes should not be directly compared. Doing so is not illegal, just nonsensical and UB. A more precise semantic for this case might be introduced later on.
25
+
Nodes should not be directly compared.
26
+
Doing so is not illegal, just nonsensical and UB.
27
+
A more precise semantic for this case might be introduced later on.
26
28
27
29
### Attributes
28
30
@@ -42,8 +44,7 @@ Comparison as expected from any basic math class.
42
44
43
45
### Strings
44
46
45
-
Strings are by far the most complex to handle as multiple criteria are possible.
46
-
Strings
47
+
Strings are by far the most complex to handle as multiple criteria are possible.
47
48
48
49
#### Encoding ordering
49
50
@@ -57,4 +58,4 @@ Based on the binary representation of UTF-8 encoding.
57
58
58
59
For symbols in the Latin alphabet this is more or less equivalent to the encoding ordering.
59
60
However, different languages have totally different customary approaches, and are not often based on alphabets.
60
-
Basically any criteria rooted in linguistic arguments goes in here.
61
+
Basically any criteria rooted in linguistic arguments goes in here.
All done! The last `for` and `for-props` prop based commands have been completed.
4
-
With this development of functionality for `vs.templ` is done.
4
+
With this development of functionality for _vs.templ_ is done.
5
5
6
6
There are minor features planned for the `v0.4.x` branch, but most will be documentation, better examples, formal XML schemas and testing infrastructure.
7
7
Once that is done we are going straight to `v1` if there are no architectural problems being discovered in the meanwhile.
0 commit comments