mordant
3.0.2indexedRenders styled text in the terminal with features like ANSI color output, Markdown rendering, layout widgets, and animations, including progress bars and dashboards.
1.2k
Stars
10
Used by
dependents
—
Health
/ 100
Renders styled text in the terminal with features like ANSI color output, Markdown rendering, layout widgets, and animations, including progress bars and dashboards.
Mordant is a multiplatform library for rendering styled text in the terminal. You can use it to add color and style to text, create tables, draw animations, and more.
Mordant has:
The full documentation can be found on the website.
Mordant is distributed through Maven Central.
dependencies {
implementation("com.github.ajalt.mordant:mordant:3.0.2")
// optional extensions for running animations with coroutines
implementation("com.github.ajalt.mordant:mordant-coroutines:3.0.2")
// optional widget for rendering Markdown
implementation("com.github.ajalt.mordant:mordant-markdown:3.0.2")
}
On JVM, there are more granular dependencies available. See the docs for details.
<artifactId>mordant-jvm</artifactId>You'll need to add the Sonatype snapshots repository:
repositories {
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
Copyright 2018 AJ Alt
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:
Unless applicable law agreed to writing, software
distributed under the License distributed an BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express implied.
See the License the specific language governing permissions
limitations under the License.
Surfaced from shared tags and platforms — no rankings paid for.