https://github.com/chrynan/spannable
A Kotlin library for defining spannable objects
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.3%) to scientific vocabulary
Keywords from Contributors
Repository
A Kotlin library for defining spannable objects
Basic Info
- Host: GitHub
- Owner: chRyNaN
- License: apache-2.0
- Language: Kotlin
- Default Branch: master
- Size: 61.5 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
spannable
A Kotlin Common library for defining spannable objects within text.
This library is accessible using Jitpack:
Kotlin Common Project:
implementation 'com.github.chRyNaN.spannable:spannable-common:VERSION'
JVM Project:
implementation 'com.github.chRyNaN.spannable:spannable-jvm:VERSION'
JS Project:
implementation 'com.github.chRyNaN.spannable:spannable-js:VERSION'
Description
A Span is an interface defining start and stop indices that it should be applied to within a text.
For instance, given the following String: "Spannable Text", a Span could be provided to the word "Spannable" by providing the indices: startIndexInclusive = 0 and endIndexExclusive = 9.
This library allows for creating cross-platform stylized text and the ability to define that text using a DSL approach, such as:
kotlin
text {
bold("Spannable") + " Text for Multiplatform " + italic("Kotlin") + " Projects."
}
This library does not define specific Spans but provides the base for creating them.
Owner
- Name: Christopher
- Login: chRyNaN
- Kind: user
- Location: Austin, TX
- Company: Starry
- Website: https://chrynan.codes
- Repositories: 15
- Profile: https://github.com/chRyNaN
GitHub Events
Total
Last Year
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Christopher | b****p@g****m | 3 |
| Chris | c****n@s****m | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
Dependencies
- org.jetbrains.kotlin:kotlin-stdlib-common * compile
- org.jetbrains.kotlin:kotlin-test-annotations-common * testCompile
- org.jetbrains.kotlin:kotlin-test-common * testCompile
- org.jetbrains.kotlin:kotlin-stdlib-js * compile
- org.jetbrains.kotlin:kotlin-test-js * testCompile
- org.jetbrains.kotlin:kotlin-stdlib-jdk7 * compile
- junit:junit 4.12 testCompile
- org.jetbrains.kotlin:kotlin-test * testCompile
- org.jetbrains.kotlin:kotlin-test-junit * testCompile