Skip to content

Commit 6a6b705

Browse files
committed
Remove printing, slideshow
- Update android-sample - Upgrade CMP to 1.8.3 - Commonmark to 0.25.0 - Retouch docs
1 parent 7517fef commit 6a6b705

50 files changed

Lines changed: 208 additions & 3298 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
- name: Install dependencies
2424
run: pip install mkdocs-material
2525
- name: Generate docs
26-
run: ./gen_docs.sh
26+
run: ./gen_dokka_docs.sh
2727
- run: mkdocs gh-deploy --force

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ build/
1212
/captures
1313
.externalNativeBuild
1414
.cxx
15+
site/
16+
docs-gen/

README.md

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
# compose-richtext
1+
# Compose Markdown and Rich Text
22

33
[![Maven Central](https://img.shields.io/maven-central/v/com.halilibo.compose-richtext/richtext-ui.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.halilibo.compose-richtext%22)
44
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)
55

66
> **Warning**
77
> compose-richtext library and all its modules are very experimental. The roadmap is unclear at the moment. Thanks for your patience. Fork option is available as always.
88
9-
A collection of Compose libraries for working with rich text formatting and documents.
9+
A collection of Compose libraries for working with Markdown rendering and rich text formatting.
1010

11-
Aside from `printing`, and `slideshow`, all modules are Kotlin Multiplatform Compose Libraries.
12-
13-
This repo is currently very experimental and really just proofs-of-concept: there are no tests and some things
14-
might be broken or very non-performant.
11+
All modules are Compose Multiplatform compatible but lacks iOS support.
1512

1613
----
1714

@@ -21,30 +18,24 @@ might be broken or very non-performant.
2118

2219
```kotlin
2320
@Composable fun App() {
24-
val printController = rememberPrintableController()
25-
26-
Printable(printController) {
27-
RichText(Modifier.background(color = Color.White)) {
28-
Heading(0, "Title")
29-
Text("Summary paragraph.")
21+
RichText(Modifier.background(color = Color.LightGray)) {
22+
Heading(0, "Title")
23+
Text("Summary paragraph.")
3024

31-
HorizontalRule()
25+
HorizontalRule()
3226

33-
BlockQuote {
34-
Text("A wise person once said…")
35-
}
27+
BlockQuote {
28+
Text("A wise person once said…")
3629
}
37-
}
38-
39-
Button(onClick = { printController.print("README") }) {
40-
Text("PRINT ME")
30+
31+
Markdown("**Hello** `World`")
4132
}
4233
}
4334
```
4435

4536
## License
4637
```
47-
Copyright 2022 Halil Ozercan
38+
Copyright 2025 Halil Ozercan
4839
4940
Licensed under the Apache License, Version 2.0 (the "License");
5041
you may not use this file except in compliance with the License.

android-sample/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ android {
2828
}
2929

3030
dependencies {
31-
implementation(project(":printing"))
3231
implementation(project(":richtext-commonmark"))
3332
implementation(project(":richtext-ui-material3"))
34-
implementation(project(":slideshow"))
3533
implementation(AndroidX.appcompat)
3634
implementation(Compose.activity)
3735
implementation(compose.foundation)

0 commit comments

Comments
 (0)