Releases: wingio/syntakts
Releases · wingio/syntakts
1.0.0-rc06
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
1.0.0-rc04
What's Changed
Full Changelog: 1.0.0-rc03...1.0.0-rc04
1.0.0-rc03
1.0.0-rc02
What's Changed
Full Changelog: 1.0.0-rc01...1.0.0-rc02
1.0.0-rc01
Full Changelog: https://github.com/wingio/syntakts/commits/1.0.0-rc01