Update README

This commit is contained in:
Dimitry Ivanov 2018-07-30 13:15:07 +03:00
parent 5e412be128
commit a702758644
4 changed files with 8 additions and 6 deletions

View File

@ -13,10 +13,10 @@
## Installation ## Installation
```groovy ```groovy
implementation 'ru.noties:markwon:1.0.6' implementation 'ru.noties:markwon:1.1.0'
implementation 'ru.noties:markwon-image-loader:1.0.6' // optional implementation 'ru.noties:markwon-image-loader:1.1.0' // optional
implementation 'ru.noties:markwon-syntax:x.x.x' // optional implementation 'ru.noties:markwon-syntax:1.1.0' // optional
implementation 'ru.noties:markwon-view:1.0.6' // optional implementation 'ru.noties:markwon-view:1.1.0' // optional
``` ```
### Snapshot ### Snapshot
@ -149,6 +149,8 @@ Starting with version `1.1.0` there is an artifact (`markwon-syntax`) that allow
It is based on [Prism4j](https://github.com/noties/Prism4j) project. It contains 2 builtin themes: It is based on [Prism4j](https://github.com/noties/Prism4j) project. It contains 2 builtin themes:
`Default` (light, `Prism4jThemeDefault`) and `Darkula` (dark, `Prism4jThemeDarkula`). `Default` (light, `Prism4jThemeDefault`) and `Darkula` (dark, `Prism4jThemeDarkula`).
[library-syntax](./library-syntax/)
--- ---
# Demo # Demo

View File

@ -2,9 +2,9 @@
This is a simple module to add **syntax-highlight** functionality to your markdown rendered with Markwon library. It is based on [Prism4j](https://github.com/noties/Prism4j) so lead there to understand how to configure `Prism4j` instance. This is a simple module to add **syntax-highlight** functionality to your markdown rendered with Markwon library. It is based on [Prism4j](https://github.com/noties/Prism4j) so lead there to understand how to configure `Prism4j` instance.
![theme-default](/art/markwon-syntax-default.png) ![theme-default](./art/markwon-syntax-default.png)
![theme-darkula](/art/markwon-syntax-darkula.png) ![theme-darkula](./art/markwon-syntax-darkula.png)
--- ---

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB