I'm trying to add some method usage examples using multi-line comments, the following approaches don't work as expected.
/*
* #### example 1
* <pre><code>
* // snippet 1
*
* // snippet 2
* </code></pre>
*/
The compiled docs will show snippet 2 outside the <pre><code> example.
/*
* #### example 2
* <pre><code>
* // snippet 1
* <br>
* // snippet 2
* </code></pre>
*/
The compiled docs will not highlight the code, showing a regular pre tag.
Do i miss something or is this a bug?
I'm trying to add some method usage examples using multi-line comments, the following approaches don't work as expected.
The compiled docs will show snippet 2 outside the
<pre><code>example.The compiled docs will not highlight the code, showing a regular
pretag.Do i miss something or is this a bug?