You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PagineDown/README.md

37 lines
1.4 KiB
Markdown

# PagineDown
[![Discord](https://img.shields.io/discord/818135932103557162?color=7289da&logo=discord)](https://discord.gg/tVYhJfyDWG)
[![](https://jitpack.io/v/net.william278/PagineDown.svg)](https://jitpack.io/#net.william278/PagineDown)
PagineDown is a library for generating paginated [MineDown](https://github.com/Phoenix616/MineDown)-formatted chat menu lists.
Requires Java 11+. PagineDown is a library that is intended to be used with MineDown (not standalone) -- your project will need to shade MineDown to use it.
## Installation
PagineDown is available on JitPack. You can browse the Javadocs [here](https://javadoc.jitpack.io/net/william278/PagineDown/latest/javadoc/).
### Maven
To use the library on Maven, in your `pom.xml` file, first add the JitPack repository:
```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```
Then, add the dependency in your `<dependencies>` section. Remember to replace `Tag` with the current Annotaml version.
```xml
<dependency>
<groupId>net.william278</groupId>
<artifactId>PagineDown</artifactId>
<version>Tag</version>
<scope>compile</scope>
</dependency>
```
### Gradle & others
JitPack has a [handy guide](https://jitpack.io/#net.william278/PagineDown/#How_to) for how to use the dependency with other build platforms.
## License
Annotaml is licensed under Apache-2.0.