You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: contributing_to_docs/doc_guidelines.adoc
+31-20
Original file line number
Diff line number
Diff line change
@@ -404,39 +404,50 @@ configuration file represent, then use callouts to provide that information.
404
404
405
405
Follow these general guidelines when using code blocks:
406
406
407
-
* Do NOT show replaceables within code blocks.
408
-
409
407
* Do NOT use any markup in code blocks; code blocks generally do not accept any markup.
410
408
411
-
* Try to use callouts to provide information on what the output represents when required.
412
-
413
-
For all code blocks, you must include an empty line above a code block.
414
-
409
+
* For all code blocks, you must include an empty line above a code block.
410
+
+
415
411
Acceptable:
416
-
412
+
+
417
413
....
418
414
Lorem ipsum
419
415
420
416
----
421
417
$ lorem.sh
422
418
----
423
419
....
424
-
420
+
+
425
421
Not acceptable:
426
-
422
+
+
427
423
....
428
424
Lorem ipsum
429
425
----
430
426
$ lorem.sh
431
427
----
432
428
....
433
-
429
+
+
434
430
Without the line spaces, the content is likely to be not parsed correctly.
435
431
436
-
Use this format when embedding callouts into the code block:
432
+
* It is recommended to include source tags for the programming language used in the code block to enable syntax highlighting. For example, use the source tags
0 commit comments