Removed webapp/jar instructions.
This commit is contained in:
parent
6753021678
commit
1243aca99d
1 changed files with 2 additions and 4 deletions
|
@ -30,7 +30,7 @@ The following properties are available:
|
|||
|
||||
```kotlin
|
||||
ReadingTime(
|
||||
text = "sometext",
|
||||
text = "some_text",
|
||||
wpm = 275,
|
||||
postfix = "min read",
|
||||
plural = "min read",
|
||||
|
@ -66,13 +66,11 @@ A JSP tag is also available for easy incorporation into web applications:
|
|||
postfix="min read"
|
||||
plural="min read"
|
||||
excludeImages="false"
|
||||
wpm="275">some_text_or_html</t:readingtime>
|
||||
wpm="275">some_text</t:readingtime>
|
||||
```
|
||||
|
||||
None of the attributes are required.
|
||||
|
||||
Just drop the jar into your `WEB-INF/lib` directory.
|
||||
|
||||
### Gradle
|
||||
|
||||
To use with [Gradle](https://gradle.org/), include the following dependency in your [build](https://github.com/ethauvin/readingtime/blob/master/examples/build.gradle.kts) file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue