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: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
_kotlin-html_ is an experimental library to generate HTML in Kotlin.
8
8
9
-
This library is heavily inspired by [kotlinx.html](https://github.com/Kotlin/kotlinx.html), but with a strong emphasis on composability.
9
+
This library is heavily inspired by [kotlinx.html](https://github.com/Kotlin/kotlinx.html), but with a strong emphasis on context-independent composability.
10
10
11
11
## Getting started
12
12
@@ -21,6 +21,7 @@ will render the following HTML when `.render()` is called:
21
21
```html
22
22
<p>A paragraph</p>
23
23
```
24
+
_Note: all HTML examples in this README are generated after calling `.render()` on the expression presented in Kotlin. It's encouraged that you keep the number `.render()` calls to the minimum and instead combine elements to increase your code's expressiveness._
24
25
25
26
### Composability
26
27
@@ -163,7 +164,8 @@ fun main(args : Array<String>) {
0 commit comments