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-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,11 @@ This free, open source software was also made possible by a group of volunteers
108
108
109
109
## Credits
110
110
111
-
Big thanks to [Erik Hellman](https://twitter.com/ErikHellman) and his awesome article on [Rendering Markdown with Jetpack Compose](https://www.hellsoft.se/rendering-markdown-with-jetpack-compose/)
111
+
Big thanks to [Erik Hellman](https://twitter.com/ErikHellman) and his awesome article on [Rendering Markdown with Jetpack Compose](https://www.hellsoft.se/rendering-markdown-with-jetpack-compose/), and the related source [MarkdownComposer](https://github.com/ErikHellman/MarkdownComposer).
112
+
113
+
## Fork License
114
+
115
+
Copyright for portions of the code are held by [Erik Hellman, 2020] as part of project [MarkdownComposer](https://github.com/ErikHellman/MarkdownComposer) under the MIT license. All other copyright for project multiplatform-markdown-renderer are held by [Mike Penz, 2021] under the Apache License, Version 2.0.
To get started you will need GPG on your computer to create a new key pair.
46
-
47
-
Usually I go with the [GPG Suite](https://gpgtools.org/), which offers a nice UI to manage your keys. (You may want to use advanced installation to only install the parts you need)
48
-
But you can also use any other solution to create your key pair.
49
-
50
-
After installing GPG Suite (or your prefered solution) first create a new key.
51
-
52
-
Using GPG Suite, start the GPG Keychain, which shows all current known GPG keys on your system.
53
-
54
-
Click on `New` and you will be offered to enter your name, e-mail and password. Ensure to pick a secure password to protect your key.
55
-
""".trimIndent()
30
+
val markdown ="""
31
+
### Getting Started
32
+
33
+
To get started you will need GPG on your computer to create a new key pair.
34
+
35
+
Usually I go with the [GPG Suite](https://gpgtools.org/), which offers a nice UI to manage your keys. (You may want to use advanced installation to only install the parts you need)
36
+
But you can also use any other solution to create your key pair.
Window(onCloseRequest = ::exitApplication, title ="Markdown Sample") {
10
16
SampleTheme {
11
17
Scaffold(
12
18
topBar = {
@@ -15,22 +21,26 @@ fun main() = application {
15
21
)
16
22
}
17
23
) {
18
-
Markdown(
19
-
"""
20
-
### Getting Started
21
-
22
-
To get started you will need GPG on your computer to create a new key pair.
23
-
24
-
Usually I go with the [GPG Suite](https://gpgtools.org/), which offers a nice UI to manage your keys. (You may want to use advanced installation to only install the parts you need)
25
-
But you can also use any other solution to create your key pair.
26
-
27
-
After installing GPG Suite (or your prefered solution) first create a new key.
28
-
29
-
Using GPG Suite, start the GPG Keychain, which shows all current known GPG keys on your system.
30
-
31
-
Click on `New` and you will be offered to enter your name, e-mail and password. Ensure to pick a secure password to protect your key.
32
-
""".trimIndent()
33
-
)
24
+
val scrollState = rememberScrollState()
25
+
26
+
val content ="""
27
+
### Getting Started
28
+
29
+
To get started you will need GPG on your computer to create a new key pair.
30
+
31
+
Usually I go with the [GPG Suite](https://gpgtools.org/), which offers a nice UI to manage your keys. (You may want to use advanced installation to only install the parts you need)
32
+
But you can also use any other solution to create your key pair.
0 commit comments