@@ -40,8 +40,6 @@ function outputs(p5, fn){
4040 * @param {(FALLBACK|LABEL) } [display] either FALLBACK or LABEL.
4141 *
4242 * @example
43- * <div>
44- * <code>
4543 * function setup() {
4644 * // Add the text description.
4745 * textOutput();
@@ -56,11 +54,8 @@ function outputs(p5, fn){
5654 * // Add a general description of the canvas.
5755 * describe('A red circle and a blue square on a gray background.');
5856 * }
59- * </code>
60- * </div>
6157 *
62- * <div>
63- * <code>
58+ * @example
6459 * function setup() {
6560 * // Add the text description and
6661 * // display it for debugging.
@@ -76,12 +71,8 @@ function outputs(p5, fn){
7671 * // Add a general description of the canvas.
7772 * describe('A red circle and a blue square on a gray background.');
7873 * }
79- * </code>
80- * </div>
81- *
82- * <div>
83- * <code>
8474 *
75+ * @example
8576 * function setup(){
8677 * createCanvas(100, 100);
8778 * }
@@ -101,12 +92,8 @@ function outputs(p5, fn){
10192 * // Add a general description of the canvas.
10293 * describe('A red circle moves from left to right above a blue square.');
10394 * }
104- * </code>
105- * </div>
106- *
107- * <div>
108- * <code>
10995 *
96+ * @example
11097 * function setup(){
11198 * createCanvas(100, 100);
11299 * }
@@ -127,8 +114,6 @@ function outputs(p5, fn){
127114 * // Add a general description of the canvas.
128115 * describe('A red circle moves from left to right above a blue square.');
129116 * }
130- * </code>
131- * </div>
132117 */
133118 fn . textOutput = function ( display ) {
134119 // p5._validateParameters('textOutput', arguments);
@@ -184,8 +169,6 @@ function outputs(p5, fn){
184169 * @param {(FALLBACK|LABEL) } [display] either FALLBACK or LABEL.
185170 *
186171 * @example
187- * <div>
188- * <code>
189172 * function setup() {
190173 * // Add the grid description.
191174 * gridOutput();
@@ -200,11 +183,8 @@ function outputs(p5, fn){
200183 * // Add a general description of the canvas.
201184 * describe('A red circle and a blue square on a gray background.');
202185 * }
203- * </code>
204- * </div>
205186 *
206- * <div>
207- * <code>
187+ * @example
208188 * function setup() {
209189 * // Add the grid description and
210190 * // display it for debugging.
@@ -220,12 +200,8 @@ function outputs(p5, fn){
220200 * // Add a general description of the canvas.
221201 * describe('A red circle and a blue square on a gray background.');
222202 * }
223- * </code>
224- * </div>
225- *
226- * <div>
227- * <code>
228203 *
204+ * @example
229205 * function setup() {
230206 * createCanvas(100, 100);
231207 * }
@@ -245,12 +221,8 @@ function outputs(p5, fn){
245221 * // Add a general description of the canvas.
246222 * describe('A red circle moves from left to right above a blue square.');
247223 * }
248- * </code>
249- * </div>
250- *
251- * <div>
252- * <code>
253224 *
225+ * @example
254226 * function setup(){
255227 * createCanvas(100, 100);
256228 * }
@@ -271,11 +243,7 @@ function outputs(p5, fn){
271243 * // Add a general description of the canvas.
272244 * describe('A red circle moves from left to right above a blue square.');
273245 * }
274- * </code>
275- * </div>
276246 */
277-
278-
279247 fn . gridOutput = function ( display ) {
280248 // p5._validateParameters('gridOutput', arguments);
281249 //if gridOutput is already true
0 commit comments