Say I have this:
Is there a way to add markdown or html to each method, with an example of how to use the method? I am thinking an expanding panel - button says view example and it opens a panel.
I tried adding this to the inline docs:
/**
* <pre>
* <code>new BeanTranslator.Builder()
* .translate(
* new{@code Translator<String, Integer>}(String.class, Integer.class){
* {@literal @}Override
* public Integer translate(String instance) {
* return Integer.valueOf(instance);
* }})
* .build();
* </code>
* </pre>
*/
@SuppressWarnings("Duplicates")
public static <I, T, V, E> void Reduce(I initialVal, List<T> tasks, Asyncc.Reducer<V, E> m, Asyncc.IAsyncCallback<V, E> f) {
NeoReduce.Reduce(initialVal, tasks, m, f);
}
but I only see this on the right side:
There is a library that allows to use Markdown and even PlantUML in Javadocs like this:
/**
* Java Example:
*
* ```java
* @Override
* public void myMethod() {
* }
* ```
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With