diff --git a/README.md b/README.md index 6b9df26a..795929ab 100644 --- a/README.md +++ b/README.md @@ -374,4 +374,18 @@ To use graphviz inside javadoc comments, add this to `pom.xml`: ``` To use this with JDK 9 or later, replace `graphviz-taglet` -with `graphviz-taglet9`. \ No newline at end of file +with `graphviz-taglet9`. + +The usage inside javadoc is then as follows: +```java +/** + * Support graphviz inside javadoc. + *

+ * {@graphviz + * graph test { a -- b } + * } + *

+ * So easy. + */ +public class GraphvizTaglet implements Taglet {} +``` \ No newline at end of file