diff --git a/README.md b/README.md index 953b038..038fdf7 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ How to ====== To set the highlight areas you can add the following statements programmatically: - - emphasisTextView.setText("SALAD"); - emphasisTextView.setTextToHighlight("sa"); - emphasisTextView.setHighlightColor("#ff3393b4"); - emphasisTextView.setCaseInsensitive(true); - emphasisTextView.highlight(); - +```java +emphasisTextView.setText("SALAD"); +emphasisTextView.setTextToHighlight("sa"); +emphasisTextView.setHighlightColor("#ff3393b4"); +emphasisTextView.setCaseInsensitive(true); +emphasisTextView.highlight(); +``` Please check the sample project for some more working examples. Add it to your project @@ -27,20 +27,20 @@ Add it to your project This library is hosted in [jcenter](https://bintray.com/bintray/jcenter) For gradle, you can import it with: - - dependencies { - compile 'com.athkalia.emphasis:emphasis:0.3' - } - +```groovy +dependencies { + compile 'com.athkalia.emphasis:emphasis:0.3' +} +``` For maven, you can import it with: - - - com.athkalia.emphasis - emphasis - aar - 0.3 - - +```xml + + com.athkalia.emphasis + emphasis + aar + 0.3 + +``` Todos ----- Feel free to open a pull request for anything that you want to see added.