https://github.com/chrynan/spannable

A Kotlin library for defining spannable objects

https://github.com/chrynan/spannable

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

federated code-generation parcel
Last synced: 9 months ago · JSON representation

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
Created over 7 years ago · Last pushed over 7 years ago
Metadata Files
Readme License

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

GitHub Events

Total
Last Year

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 6
  • Total Committers: 2
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.5
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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

spannable-common/build.gradle maven
  • org.jetbrains.kotlin:kotlin-stdlib-common * compile
  • org.jetbrains.kotlin:kotlin-test-annotations-common * testCompile
  • org.jetbrains.kotlin:kotlin-test-common * testCompile
spannable-js/build.gradle maven
  • org.jetbrains.kotlin:kotlin-stdlib-js * compile
  • org.jetbrains.kotlin:kotlin-test-js * testCompile
spannable-jvm/build.gradle maven
  • 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