@yannosay/sinth 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,8 +6,26 @@ The language that makes HTML feel SO easy. Declarative. Reactive. Compiles to pu
6
6
 
7
7
  * Introduction: https://www.youtube.com/watch?v=W0tOMTiIF0Q
8
8
  * Discord: [Join here!](https://discord.gg/SUvcrafTQm)
9
- * Documentation: [sinth.yannosay.com/docs](https://sinth.yannosay.com/docs)
9
+ * Documentation: [sinth.yannosay.com/docs](https://sinth.yannosay.com/docs) (HIGHLY WIP, not yet finished at all!)
10
10
 
11
+ #### Try out Sinth directly in Web! (Beta)
12
+
13
+ ```html
14
+ <div id="nice!"></div>
15
+ <script src="sinth.js"></script>
16
+ <script type="text/sinth">
17
+ page
18
+ title = "Counter"
19
+ var int count = 0
20
+
21
+ Main {
22
+ Heading(level: 1) {count}
23
+ Button(onClick: count = count + 1) {"Increment"}
24
+ }
25
+
26
+ $entry-point("nice!")
27
+ </script>
28
+ ```
11
29
 
12
30
  [![npm version](https://img.shields.io/npm/v/@yannosay/sinth)](https://www.npmjs.com/package/@yannosay/sinth)
13
31
  [![npm downloads](https://img.shields.io/npm/dw/@yannosay/sinth)](https://www.npmjs.com/package/@yannosay/sinth)
@@ -21,7 +39,7 @@ Input(bind: userName, placeholder: "Enter your name")
21
39
  Paragraph { "Hello, " + userName }
22
40
  ```
23
41
 
24
- No useState, onChange or e.target.value!
42
+ No useState, onChange or e.target.value.
25
43
 
26
44
  ```ts
27
45
  page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yannosay/sinth",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "A declarative & reactive language that compiles to pure HTML, CSS, and JavaScript.",
5
5
  "author": "Yannosay Productions",
6
6
  "license": "AGPL-3.0",