Skip to content

Releases: wingio/syntakts

1.0.0-rc06

20 Jul 01:37
d2efac8
Compare
Choose a tag to compare
1.0.0-rc06 Pre-release
Pre-release

Font Support (new)

You can now set a font as part of a Style!

By default the only values supported are "default", "monospace", "serif", and "sans-serif".

You can register a custom fault using the DefaultFontResolver class for your platform.

Ex.

DefaultFontResolver.register(
    "jetbrains mono" to ResourcesCompat.getFont(context, R.font.jetbrains_mono)!!
)

You can then use font like so

val mySyntakts = syntakts {
    rule("`(.+?)`") { result, _ ->
        append(result.groupValues[1]) {
            font = "jetbrains mono"
        }
    }
}

Dependencies

  • AGP: 8.1.4 -> 8.5.1
  • AndroidX Core: 1.12.0 -> 1,13.1
  • Compose Material3: 1.1.2 -> 1.2.1
  • Compose Multiplatform: 1.5.10 -> 1.6.11
  • Kotlin: 1.9.10 -> 2.0.0
  • Kotlin Coroutines Core: 1.7.3 -> 1.8.0

Full Changelog: 1.0.0-rc05...1.0.0-rc06

1.0.0-rc05

03 Dec 19:07
1dc4d08
Compare
Choose a tag to compare
1.0.0-rc05 Pre-release
Pre-release

What's Changed

  • Switch to thread safe regex match caching by @wingio in #4
  • Feat: Add option for sync and async rendering in compose by @wingio in #5
  • [ClickableText] Only handle clicks when annotations are present in d3b15c6

Full Changelog: 1.0.0-rc04...1.0.0-rc05

1.0.0-rc04

30 Nov 18:50
e5f5941
Compare
Choose a tag to compare
1.0.0-rc04 Pre-release
Pre-release

What's Changed

  • Add support for custom string annotations and Compose inline content by @wingio in #3

Full Changelog: 1.0.0-rc03...1.0.0-rc04

1.0.0-rc03

22 Nov 00:05
ae52b4b
Compare
Choose a tag to compare
1.0.0-rc03 Pre-release
Pre-release

What's Changed

Full Changelog: 1.0.0-rc02...1.0.0-rc03

1.0.0-rc02

16 Nov 17:36
763a776
Compare
Choose a tag to compare
1.0.0-rc02 Pre-release
Pre-release

What's Changed

  • Add more debugging capabilities by @wingio in #1

Full Changelog: 1.0.0-rc01...1.0.0-rc02

1.0.0-rc01

11 Nov 20:15
af976ae
Compare
Choose a tag to compare
1.0.0-rc01 Pre-release
Pre-release